#include "PythonQtWrapper_QUndoView.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 void PythonQtShell_QUndoView::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::actionEvent(arg__1); } void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::changeEvent(arg__1); } void PythonQtShell_QUndoView::childEvent(QChildEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::childEvent(arg__1); } void PythonQtShell_QUndoView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)&editor, (void*)&hint}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::closeEditor(editor, hint); } void PythonQtShell_QUndoView::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::closeEvent(arg__1); } void PythonQtShell_QUndoView::commitData(QWidget* editor) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&editor}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::commitData(editor); } void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::contextMenuEvent(arg__1); } void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current, const QModelIndex& previous) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)¤t, (void*)&previous}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::currentChanged(current, previous); } void PythonQtShell_QUndoView::customEvent(QEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::customEvent(arg__1); } void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::dataChanged(topLeft, bottomRight); } int PythonQtShell_QUndoView::devType() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::devType(); } void PythonQtShell_QUndoView::doItemsLayout() { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::doItemsLayout(); } void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::dragEnterEvent(event); } void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::dragLeaveEvent(e); } void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::dragMoveEvent(e); } void PythonQtShell_QUndoView::dropEvent(QDropEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::dropEvent(e); } bool PythonQtShell_QUndoView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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*)&index, (void*)&trigger, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::edit(index, trigger, event); } void PythonQtShell_QUndoView::editorDestroyed(QObject* editor) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&editor}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::editorDestroyed(editor); } void PythonQtShell_QUndoView::enterEvent(QEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::enterEvent(arg__1); } bool PythonQtShell_QUndoView::event(QEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::event(e); } bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::eventFilter(arg__1, arg__2); } void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::focusInEvent(event); } bool PythonQtShell_QUndoView::focusNextPrevChild(bool next) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&next}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::focusNextPrevChild(next); } void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::focusOutEvent(event); } int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::heightForWidth(arg__1); } void PythonQtShell_QUndoView::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::hideEvent(arg__1); } int PythonQtShell_QUndoView::horizontalOffset() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::horizontalOffset(); } void PythonQtShell_QUndoView::horizontalScrollbarAction(int action) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&action}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::horizontalScrollbarAction(action); } void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&value}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::horizontalScrollbarValueChanged(value); } QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue; void* args[2] = {NULL, (void*)&p}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::indexAt(p); } void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::inputMethodEvent(event); } QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue; void* args[2] = {NULL, (void*)&query}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::inputMethodQuery(query); } bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&index}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::isIndexHidden(index); } void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::keyPressEvent(event); } void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::keyReleaseEvent(arg__1); } void PythonQtShell_QUndoView::keyboardSearch(const QString& search) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&search}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::keyboardSearch(search); } void PythonQtShell_QUndoView::languageChange() { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::languageChange(); } void PythonQtShell_QUndoView::leaveEvent(QEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::leaveEvent(arg__1); } int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::metric(arg__1); } void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::mouseDoubleClickEvent(event); } void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::mouseMoveEvent(e); } void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::mousePressEvent(event); } void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::mouseReleaseEvent(e); } void PythonQtShell_QUndoView::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QMoveEvent*"}; 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; } } QUndoView::moveEvent(arg__1); } QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::paintEngine(); } void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::paintEvent(e); } void PythonQtShell_QUndoView::reset() { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::reset(); } void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::resizeEvent(e); } void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::rowsAboutToBeRemoved(parent, start, end); } void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent, int start, int end) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::rowsInserted(parent, start, end); } void PythonQtShell_QUndoView::scrollContentsBy(int dx, int dy) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)&dx, (void*)&dy}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::scrollContentsBy(dx, dy); } void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)&index, (void*)&hint}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::scrollTo(index, hint); } void PythonQtShell_QUndoView::selectAll() { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::selectAll(); } QList PythonQtShell_QUndoView::selectedIndexes() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::selectedIndexes(); } void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::selectionChanged(selected, deselected); } QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index, const QEvent* event) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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*)&index, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::selectionCommand(index, event); } void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&model}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::setModel(model); } void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&index}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::setRootIndex(index); } void PythonQtShell_QUndoView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)&rect, (void*)&command}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::setSelection(rect, command); } void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&selectionModel}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::setSelectionModel(selectionModel); } void PythonQtShell_QUndoView::showEvent(QShowEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::showEvent(arg__1); } int PythonQtShell_QUndoView::sizeHintForColumn(int column) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue; void* args[2] = {NULL, (void*)&column}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::sizeHintForColumn(column); } int PythonQtShell_QUndoView::sizeHintForRow(int row) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue; void* args[2] = {NULL, (void*)&row}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::sizeHintForRow(row); } void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&supportedActions}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::startDrag(supportedActions); } void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QTabletEvent*"}; 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; } } QUndoView::tabletEvent(arg__1); } void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&e}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::timerEvent(e); } void PythonQtShell_QUndoView::updateEditorData() { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::updateEditorData(); } void PythonQtShell_QUndoView::updateEditorGeometries() { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::updateEditorGeometries(); } void PythonQtShell_QUndoView::updateGeometries() { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::updateGeometries(); } int PythonQtShell_QUndoView::verticalOffset() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::verticalOffset(); } void PythonQtShell_QUndoView::verticalScrollbarAction(int action) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&action}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::verticalScrollbarAction(action); } void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&value}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QUndoView::verticalScrollbarValueChanged(value); } QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } return QUndoView::viewOptions(); } bool PythonQtShell_QUndoView::viewportEvent(QEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::viewportEvent(event); } QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRect returnValue; void* args[2] = {NULL, (void*)&index}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::visualRect(index); } QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRegion returnValue; void* args[2] = {NULL, (void*)&selection}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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; } } return QUndoView::visualRegionForSelection(selection); } void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(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; } } QUndoView::wheelEvent(arg__1); } 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); } QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const { return ( theWrappedObject->group()); } QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const { return ( theWrappedObject->emptyLabel()); } QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const { return ( theWrappedObject->stack()); } QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const { return ( theWrappedObject->cleanIcon()); } void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) { ( theWrappedObject->setCleanIcon(icon)); } void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) { ( theWrappedObject->setEmptyLabel(label)); }