com_trolltech_qt_gui7.cpp
5209 lines
| 197.4 KiB
| text/x-c
|
CppLexer
florianlink
|
r99 | #include "com_trolltech_qt_gui7.h" | ||
#include <PythonQtConversion.h> | ||||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtSignalReceiver.h> | ||||
florianlink
|
r110 | #include <QSize> | ||
#include <QStringList> | ||||
florianlink
|
r99 | #include <QVariant> | ||
#include <qabstractitemmodel.h> | ||||
#include <qaction.h> | ||||
florianlink
|
r110 | #include <qapplication.h> | ||
florianlink
|
r99 | #include <qbitmap.h> | ||
#include <qbrush.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
florianlink
|
r110 | #include <qdatastream.h> | ||
florianlink
|
r99 | #include <qevent.h> | ||
#include <qfont.h> | ||||
florianlink
|
r110 | #include <qgraphicseffect.h> | ||
#include <qgraphicsproxywidget.h> | ||||
florianlink
|
r99 | #include <qicon.h> | ||
#include <qinputcontext.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
florianlink
|
r110 | #include <qmargins.h> | ||
#include <qmimedata.h> | ||||
florianlink
|
r99 | #include <qobject.h> | ||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
florianlink
|
r110 | #include <qstackedwidget.h> | ||
#include <qstandarditemmodel.h> | ||||
#include <qstatusbar.h> | ||||
florianlink
|
r99 | #include <qstringlist.h> | ||
florianlink
|
r110 | #include <qstringlistmodel.h> | ||
florianlink
|
r99 | #include <qstyle.h> | ||
#include <qstyleoption.h> | ||||
#include <qtransform.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QActionEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QStackedWidget::actionEvent(arg__1); | ||
florianlink
|
r110 | } | ||
void PythonQtShell_QStackedWidget::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; | ||||
} | ||||
} | ||||
QStackedWidget::changeEvent(arg__1); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QCloseEvent*"}; | ||
florianlink
|
r120 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::closeEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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; | ||||
} | ||||
} | ||||
QStackedWidget::contextMenuEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QStackedWidget::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*"}; | ||||
florianlink
|
r117 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStackedWidget::customEvent(arg__1); | ||||
} | ||||
int PythonQtShell_QStackedWidget::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); | ||||
florianlink
|
r117 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
returnValue = *((int*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStackedWidget::devType(); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDragEnterEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::dragEnterEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::dragLeaveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"" , "QDragMoveEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r117 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r120 | QStackedWidget::dragMoveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDropEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::dropEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::enterEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::enterEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStackedWidget::event(QEvent* e) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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 QStackedWidget::event(e); | ||||
} | ||||
bool PythonQtShell_QStackedWidget::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 QStackedWidget::eventFilter(arg__1, arg__2); | ||||
} | ||||
void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QFocusEvent*"}; | ||||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::focusInEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&next}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r117 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r117 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStackedWidget::focusNextPrevChild(next); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QFocusEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::focusOutEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int" , "int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r110 | int returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((int*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStackedWidget::heightForWidth(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QHideEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::hideEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QInputMethodEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::inputMethodEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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; | ||||
} | ||||
} | ||||
return QStackedWidget::inputMethodQuery(arg__1); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QKeyEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::keyPressEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QKeyEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::keyReleaseEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::languageChange() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={""}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::languageChange(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::leaveEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::leaveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | int returnValue; | ||
florianlink
|
r110 | void* args[2] = {NULL, (void*)&arg__1}; | ||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStackedWidget::metric(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSize PythonQtShell_QStackedWidget::minimumSizeHint() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QSize"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QSize returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStackedWidget::minimumSizeHint(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::mouseDoubleClickEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::mouseMoveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QStackedWidget::mousePressEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::mouseReleaseEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMoveEvent*"}; | ||
florianlink
|
r117 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::moveEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QPaintEngine*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QPaintEngine* returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((QPaintEngine**)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStackedWidget::paintEngine(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QPaintEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::paintEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QResizeEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::resizeEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::showEvent(QShowEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QShowEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::showEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTabletEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::tabletEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QWheelEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStackedWidget::wheelEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QStackedWidget* PythonQtWrapper_QStackedWidget::new_QStackedWidget(QWidget* parent) | ||||
{ | ||||
return new PythonQtShell_QStackedWidget(parent); } | ||||
florianlink
|
r128 | int PythonQtWrapper_QStackedWidget::addWidget(QStackedWidget* theWrappedObject, QWidget* w) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->addWidget(w)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStackedWidget::count(QStackedWidget* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->count()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStackedWidget::currentIndex(QStackedWidget* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->currentIndex()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWidget* PythonQtWrapper_QStackedWidget::currentWidget(QStackedWidget* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->currentWidget()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStackedWidget::event(QStackedWidget* theWrappedObject, QEvent* e) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStackedWidget*)theWrappedObject)->promoted_event(e)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStackedWidget::indexOf(QStackedWidget* theWrappedObject, QWidget* arg__1) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->indexOf(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStackedWidget::insertWidget(QStackedWidget* theWrappedObject, int index, QWidget* w) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->insertWidget(index, w)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStackedWidget::removeWidget(QStackedWidget* theWrappedObject, QWidget* w) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeWidget(w)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWidget* PythonQtWrapper_QStackedWidget::widget(QStackedWidget* theWrappedObject, int arg__1) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->widget(arg__1)); | ||
florianlink
|
r110 | } | ||
QStandardItem* PythonQtShell_QStandardItem::clone() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"QStandardItem*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QStandardItem* 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 = *((QStandardItem**)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QStandardItem::clone(); | ||||
} | ||||
florianlink
|
r128 | QVariant PythonQtShell_QStandardItem::data(int role) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QVariant" , "int"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | QVariant returnValue; | ||
void* args[2] = {NULL, (void*)&role}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStandardItem::data(role); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | bool PythonQtShell_QStandardItem::__lt__(const QStandardItem& other) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "__lt__"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "const QStandardItem&"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&other}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QStandardItem::operator<(other); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QStandardItem::read(QDataStream& in) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QDataStream&"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&in}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStandardItem::read(in); | ||||
} | ||||
florianlink
|
r120 | void PythonQtShell_QStandardItem::setData(const QVariant& value, int role) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "const QVariant&" , "int"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&value, (void*)&role}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStandardItem::setData(value, role); | ||||
} | ||||
florianlink
|
r110 | int PythonQtShell_QStandardItem::type() const | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); | ||||
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("type", methodInfo, result); | ||||
} else { | ||||
returnValue = *((int*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QStandardItem::type(); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QStandardItem::write(QDataStream& out) const | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QDataStream&"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&out}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStandardItem::write(out); | ||||
} | ||||
florianlink
|
r110 | QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem() | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QStandardItem(); } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QIcon& icon, const QString& text) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QStandardItem(icon, text); } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QString& text) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QStandardItem(text); } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(int rows, int columns) | ||
{ | ||||
return new PythonQtShell_QStandardItem(rows, columns); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | QString PythonQtWrapper_QStandardItem::accessibleDescription(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->accessibleDescription()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QString PythonQtWrapper_QStandardItem::accessibleText(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->accessibleText()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | void PythonQtWrapper_QStandardItem::appendColumn(QStandardItem* theWrappedObject, const QList<QStandardItem* >& items) | ||
{ | ||||
( theWrappedObject->appendColumn(items)); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, QStandardItem* item) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendRow(item)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, const QList<QStandardItem* >& items) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendRow(items)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::appendRows(QStandardItem* theWrappedObject, const QList<QStandardItem* >& items) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendRows(items)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QBrush PythonQtWrapper_QStandardItem::background(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->background()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | Qt::CheckState PythonQtWrapper_QStandardItem::checkState(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->checkState()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItem::child(QStandardItem* theWrappedObject, int row, int column) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->child(row, column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItem::clone(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_clone()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QStandardItem::column(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->column()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QStandardItem::columnCount(QStandardItem* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->columnCount()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QStandardItem::data(QStandardItem* theWrappedObject, int role) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_data(role)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | Qt::ItemFlags PythonQtWrapper_QStandardItem::flags(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->flags()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QFont PythonQtWrapper_QStandardItem::font(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->font()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QBrush PythonQtWrapper_QStandardItem::foreground(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->foreground()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::hasChildren(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hasChildren()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QIcon PythonQtWrapper_QStandardItem::icon(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->icon()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QModelIndex PythonQtWrapper_QStandardItem::index(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->index()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::insertColumn(QStandardItem* theWrappedObject, int column, const QList<QStandardItem* >& items) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->insertColumn(column, items)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::insertColumns(QStandardItem* theWrappedObject, int column, int count) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->insertColumns(column, count)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r120 | void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, QStandardItem* item) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->insertRow(row, item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, const QList<QStandardItem* >& items) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->insertRow(row, items)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, const QList<QStandardItem* >& items) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->insertRows(row, items)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, int count) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->insertRows(row, count)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::isCheckable(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isCheckable()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::isDragEnabled(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isDragEnabled()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::isDropEnabled(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isDropEnabled()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::isEditable(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isEditable()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::isEnabled(QStandardItem* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isEnabled()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::isSelectable(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isSelectable()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItem::isTristate(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isTristate()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStandardItemModel* PythonQtWrapper_QStandardItem::model(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->model()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::writeTo(QStandardItem* theWrappedObject, QDataStream& out) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | out << (*theWrappedObject); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::readFrom(QStandardItem* theWrappedObject, QDataStream& in) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | in >> (*theWrappedObject); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItem::parent(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->parent()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::removeColumn(QStandardItem* theWrappedObject, int column) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeColumn(column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::removeColumns(QStandardItem* theWrappedObject, int column, int count) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeColumns(column, count)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::removeRow(QStandardItem* theWrappedObject, int row) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeRow(row)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QStandardItem::removeRows(QStandardItem* theWrappedObject, int row, int count) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->removeRows(row, count)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStandardItem::row(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->row()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStandardItem::rowCount(QStandardItem* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->rowCount()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setAccessibleDescription(QStandardItem* theWrappedObject, const QString& accessibleDescription) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAccessibleDescription(accessibleDescription)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setAccessibleText(QStandardItem* theWrappedObject, const QString& accessibleText) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAccessibleText(accessibleText)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setBackground(QStandardItem* theWrappedObject, const QBrush& brush) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setBackground(brush)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setCheckState(QStandardItem* theWrappedObject, Qt::CheckState checkState) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setCheckState(checkState)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setCheckable(QStandardItem* theWrappedObject, bool checkable) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setCheckable(checkable)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, QStandardItem* item) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setChild(row, item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, int column, QStandardItem* item) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setChild(row, column, item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setColumnCount(QStandardItem* theWrappedObject, int columns) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setColumnCount(columns)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setData(QStandardItem* theWrappedObject, const QVariant& value, int role) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_setData(value, role)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setDragEnabled(QStandardItem* theWrappedObject, bool dragEnabled) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setDragEnabled(dragEnabled)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setDropEnabled(QStandardItem* theWrappedObject, bool dropEnabled) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setDropEnabled(dropEnabled)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setEditable(QStandardItem* theWrappedObject, bool editable) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setEditable(editable)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setEnabled(QStandardItem* theWrappedObject, bool enabled) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setEnabled(enabled)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setFlags(QStandardItem* theWrappedObject, Qt::ItemFlags flags) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFlags(flags)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setFont(QStandardItem* theWrappedObject, const QFont& font) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFont(font)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setForeground(QStandardItem* theWrappedObject, const QBrush& brush) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setForeground(brush)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setIcon(QStandardItem* theWrappedObject, const QIcon& icon) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setIcon(icon)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setRowCount(QStandardItem* theWrappedObject, int rows) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setRowCount(rows)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setSelectable(QStandardItem* theWrappedObject, bool selectable) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setSelectable(selectable)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setSizeHint(QStandardItem* theWrappedObject, const QSize& sizeHint) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setSizeHint(sizeHint)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setStatusTip(QStandardItem* theWrappedObject, const QString& statusTip) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setStatusTip(statusTip)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setText(QStandardItem* theWrappedObject, const QString& text) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setText(text)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setTextAlignment(QStandardItem* theWrappedObject, Qt::Alignment textAlignment) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setTextAlignment(textAlignment)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setToolTip(QStandardItem* theWrappedObject, const QString& toolTip) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setToolTip(toolTip)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setTristate(QStandardItem* theWrappedObject, bool tristate) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setTristate(tristate)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::setWhatsThis(QStandardItem* theWrappedObject, const QString& whatsThis) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setWhatsThis(whatsThis)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QSize PythonQtWrapper_QStandardItem::sizeHint(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->sizeHint()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItem::sortChildren(QStandardItem* theWrappedObject, int column, Qt::SortOrder order) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->sortChildren(column, order)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QString PythonQtWrapper_QStandardItem::statusTip(QStandardItem* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->statusTip()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItem::takeChild(QStandardItem* theWrappedObject, int row, int column) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeChild(row, column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QList<QStandardItem* > PythonQtWrapper_QStandardItem::takeColumn(QStandardItem* theWrappedObject, int column) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeColumn(column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QList<QStandardItem* > PythonQtWrapper_QStandardItem::takeRow(QStandardItem* theWrappedObject, int row) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeRow(row)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QString PythonQtWrapper_QStandardItem::text(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->text()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | Qt::Alignment PythonQtWrapper_QStandardItem::textAlignment(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->textAlignment()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QString PythonQtWrapper_QStandardItem::toolTip(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->toolTip()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QStandardItem::type(QStandardItem* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_type()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QString PythonQtWrapper_QStandardItem::whatsThis(QStandardItem* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->whatsThis()); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | |||
QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index) const | ||||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | QModelIndex returnValue; | ||
void* args[2] = {NULL, (void*)&index}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((QModelIndex*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::buddy(index); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent) const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&parent}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::canFetchMore(parent); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QStandardItemModel::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int" , "const QModelIndex&"}; | ||
florianlink
|
r117 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | int returnValue; | ||
void* args[2] = {NULL, (void*)&parent}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((int*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::columnCount(parent); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | void PythonQtShell_QStandardItemModel::customEvent(QEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QStandardItemModel::customEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index, int role) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
QVariant returnValue; | ||||
void* args[3] = {NULL, (void*)&index, (void*)&role}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (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; | ||||
} | ||||
} | ||||
return QStandardItemModel::data(index, role); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::dropMimeData(data, action, row, column, parent); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::event(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r128 | void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "const QModelIndex&"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&parent}; | ||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStandardItemModel::fetchMore(parent); | ||||
} | ||||
Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
Qt::ItemFlags returnValue; | ||||
florianlink
|
r110 | 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) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((Qt::ItemFlags*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::flags(index); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasChildren"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&parent}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::hasChildren(parent); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtShell_QStandardItemModel::headerData(int section, Qt::Orientation orientation, int role) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
QVariant returnValue; | ||||
void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::headerData(section, orientation, role); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QModelIndex PythonQtShell_QStandardItemModel::index(int row, int column, const QModelIndex& parent) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
QModelIndex returnValue; | ||||
void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QModelIndex*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::index(row, column, parent); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::insertColumns(int column, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r128 | void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::insertColumns(column, count, parent); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::insertRows(int row, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r120 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::insertRows(row, count, parent); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QMap<int , QVariant > PythonQtShell_QStandardItemModel::itemData(const QModelIndex& index) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QMap<int , QVariant >" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QMap<int , QVariant > returnValue; | ||||
void* args[2] = {NULL, (void*)&index}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QMap<int , QVariant >*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::itemData(index); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QList<QModelIndex > PythonQtShell_QStandardItemModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QList<QModelIndex >" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); | ||||
QList<QModelIndex > returnValue; | ||||
void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QList<QModelIndex >*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::match(start, role, value, hits, flags); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList<QModelIndex >& indexes) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QMimeData*" , "const QList<QModelIndex >&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QMimeData* returnValue; | ||||
void* args[2] = {NULL, (void*)&indexes}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QMimeData**)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::mimeData(indexes); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStringList PythonQtShell_QStandardItemModel::mimeTypes() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QStringList"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QStringList returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QStringList*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::mimeTypes(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QModelIndex returnValue; | ||||
void* args[2] = {NULL, (void*)&child}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QModelIndex*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::parent(child); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::removeColumns(int column, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r117 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r120 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r117 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStandardItemModel::removeColumns(column, count, parent); | ||
} | ||||
bool PythonQtShell_QStandardItemModel::removeRows(int row, int count, const QModelIndex& parent) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(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*)&row, (void*)&count, (void*)&parent}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (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; | ||||
} | ||||
} | ||||
return QStandardItemModel::removeRows(row, count, parent); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QStandardItemModel::revert() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | 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; | ||||
} | ||||
} | ||||
QStandardItemModel::revert(); | ||||
} | ||||
florianlink
|
r128 | int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent) const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
int returnValue; | ||||
void* args[2] = {NULL, (void*)&parent}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::rowCount(parent); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index, const QVariant& value, int role) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&index, (void*)&value, (void*)&role}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r117 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r128 | return QStandardItemModel::setData(index, value, role); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::setHeaderData(section, orientation, value, role); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap<int , QVariant >&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&index, (void*)&roles}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStandardItemModel::setItemData(index, roles); | ||
} | ||||
void PythonQtShell_QStandardItemModel::sort(int column, Qt::SortOrder order) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&column, (void*)&order}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStandardItemModel::sort(column, order); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r120 | QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QSize returnValue; | ||||
void* args[2] = {NULL, (void*)&index}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r120 | returnValue = *((QSize*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r120 | return QStandardItemModel::span(index); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStandardItemModel::submit() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[1] = {NULL}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStandardItemModel::submit(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"Qt::DropActions"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
Qt::DropActions returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((Qt::DropActions*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStandardItemModel::supportedDropActions(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStandardItemModel::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QStandardItemModel(parent); } | ||||
QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(int rows, int columns, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QStandardItemModel(rows, columns, parent); } | ||||
void PythonQtWrapper_QStandardItemModel::appendColumn(QStandardItemModel* theWrappedObject, const QList<QStandardItem* >& items) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendColumn(items)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | |||
void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, QStandardItem* item) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendRow(item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, const QList<QStandardItem* >& items) | ||
{ | ||||
( theWrappedObject->appendRow(items)); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::clear(QStandardItemModel* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->clear()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r120 | int PythonQtWrapper_QStandardItemModel::columnCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_columnCount(parent)); | ||
} | ||||
florianlink
|
r128 | QVariant PythonQtWrapper_QStandardItemModel::data(QStandardItemModel* theWrappedObject, const QModelIndex& index, int role) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_data(index, role)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::dropMimeData(QStandardItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QList<QStandardItem* > PythonQtWrapper_QStandardItemModel::findItems(QStandardItemModel* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->findItems(text, flags, column)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | Qt::ItemFlags PythonQtWrapper_QStandardItemModel::flags(QStandardItemModel* theWrappedObject, const QModelIndex& index) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_flags(index)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::hasChildren(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_hasChildren(parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QVariant PythonQtWrapper_QStandardItemModel::headerData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItemModel::horizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->horizontalHeaderItem(column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QModelIndex PythonQtWrapper_QStandardItemModel::index(QStandardItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_index(row, column, parent)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QModelIndex PythonQtWrapper_QStandardItemModel::indexFromItem(QStandardItemModel* theWrappedObject, const QStandardItem* item) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->indexFromItem(item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::insertColumn(QStandardItemModel* theWrappedObject, int column, const QList<QStandardItem* >& items) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->insertColumn(column, items)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::insertColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) | ||
{ | ||||
( theWrappedObject->insertRow(row, item)); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, const QList<QStandardItem* >& items) | ||
{ | ||||
( theWrappedObject->insertRow(row, items)); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::insertRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | QStandardItem* PythonQtWrapper_QStandardItemModel::invisibleRootItem(QStandardItemModel* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->invisibleRootItem()); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItemModel::item(QStandardItemModel* theWrappedObject, int row, int column) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->item(row, column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QMap<int , QVariant > PythonQtWrapper_QStandardItemModel::itemData(QStandardItemModel* theWrappedObject, const QModelIndex& index) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_itemData(index)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItemModel::itemFromIndex(QStandardItemModel* theWrappedObject, const QModelIndex& index) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->itemFromIndex(index)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | const QStandardItem* PythonQtWrapper_QStandardItemModel::itemPrototype(QStandardItemModel* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->itemPrototype()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QMimeData* PythonQtWrapper_QStandardItemModel::mimeData(QStandardItemModel* theWrappedObject, const QList<QModelIndex >& indexes) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_mimeData(indexes)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStringList PythonQtWrapper_QStandardItemModel::mimeTypes(QStandardItemModel* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_mimeTypes()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QModelIndex PythonQtWrapper_QStandardItemModel::parent(QStandardItemModel* theWrappedObject, const QModelIndex& child) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_parent(child)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::removeColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::removeRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QStandardItemModel::rowCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_rowCount(parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setColumnCount(QStandardItemModel* theWrappedObject, int columns) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setColumnCount(columns)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::setData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setData(index, value, role)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::setHeaderData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column, QStandardItem* item) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setHorizontalHeaderItem(column, item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setHorizontalHeaderLabels(labels)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setItem(row, item)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, int column, QStandardItem* item) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setItem(row, column, item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QStandardItemModel::setItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QMap<int , QVariant >& roles) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setItemData(index, roles)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setItemPrototype(QStandardItemModel* theWrappedObject, const QStandardItem* item) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setItemPrototype(item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setRowCount(QStandardItemModel* theWrappedObject, int rows) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setRowCount(rows)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setSortRole(QStandardItemModel* theWrappedObject, int role) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setSortRole(role)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setVerticalHeaderItem(row, item)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::setVerticalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setVerticalHeaderLabels(labels)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStandardItemModel::sort(QStandardItemModel* theWrappedObject, int column, Qt::SortOrder order) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_sort(column, order)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QStandardItemModel::sortRole(QStandardItemModel* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->sortRole()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | Qt::DropActions PythonQtWrapper_QStandardItemModel::supportedDropActions(QStandardItemModel* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_supportedDropActions()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QList<QStandardItem* > PythonQtWrapper_QStandardItemModel::takeColumn(QStandardItemModel* theWrappedObject, int column) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeColumn(column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItemModel::takeHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeHorizontalHeaderItem(column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItemModel::takeItem(QStandardItemModel* theWrappedObject, int row, int column) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeItem(row, column)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QList<QStandardItem* > PythonQtWrapper_QStandardItemModel::takeRow(QStandardItemModel* theWrappedObject, int row) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeRow(row)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItemModel::takeVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->takeVerticalHeaderItem(row)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QStandardItem* PythonQtWrapper_QStandardItemModel::verticalHeaderItem(QStandardItemModel* theWrappedObject, int row) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->verticalHeaderItem(row)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtShell_QStatusBar::actionEvent(QActionEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QActionEvent*"}; | ||
florianlink
|
r110 | 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); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::actionEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::changeEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r120 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::childEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QCloseEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::closeEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QContextMenuEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::contextMenuEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::customEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStatusBar::customEvent(arg__1); | ||||
} | ||||
int PythonQtShell_QStatusBar::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); | ||||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r120 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStatusBar::devType(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDragEnterEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::dragEnterEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; | ||
florianlink
|
r117 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::dragLeaveEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r120 | void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"" , "QDragMoveEvent*"}; | ||
florianlink
|
r110 | 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); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QStatusBar::dragMoveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::dropEvent(QDropEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDropEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QStatusBar::dropEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::enterEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QStatusBar::enterEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStatusBar::event(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
florianlink
|
r110 | void* args[2] = {NULL, (void*)&arg__1}; | ||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | return QStatusBar::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStatusBar::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r117 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r117 | return returnValue; | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | return QStatusBar::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QFocusEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QStatusBar::focusInEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&next}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStatusBar::focusNextPrevChild(next); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QFocusEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::focusOutEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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 QStatusBar::heightForWidth(arg__1); | ||||
} | ||||
void PythonQtShell_QStatusBar::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*"}; | ||||
florianlink
|
r99 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::hideEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QInputMethodEvent*"}; | ||
florianlink
|
r99 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::inputMethodEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QVariant returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r110 | PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QStatusBar::inputMethodQuery(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QKeyEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::keyPressEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QKeyEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::keyReleaseEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::languageChange() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={""}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::languageChange(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::leaveEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::leaveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | int returnValue; | ||
florianlink
|
r110 | void* args[2] = {NULL, (void*)&arg__1}; | ||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QStatusBar::metric(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSize PythonQtShell_QStatusBar::minimumSizeHint() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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; | ||||
} | ||||
} | ||||
return QStatusBar::minimumSizeHint(); | ||||
} | ||||
void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::mouseDoubleClickEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::mouseMoveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::mousePressEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
florianlink
|
r117 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::mouseReleaseEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMoveEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::moveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QPaintEngine*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QPaintEngine* returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((QPaintEngine**)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStatusBar::paintEngine(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QPaintEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::paintEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QResizeEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::resizeEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QShowEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::showEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSize PythonQtShell_QStatusBar::sizeHint() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"QSize"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QSize returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((QSize*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStatusBar::sizeHint(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTabletEvent*"}; | ||
florianlink
|
r99 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::tabletEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r99 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStatusBar::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QWheelEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QStatusBar::wheelEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QStatusBar* PythonQtWrapper_QStatusBar::new_QStatusBar(QWidget* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QStatusBar(parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QStatusBar::addPermanentWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->addPermanentWidget(widget, stretch)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtWrapper_QStatusBar::addWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( theWrappedObject->addWidget(widget, stretch)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QStatusBar::currentMessage(QStatusBar* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->currentMessage()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStatusBar::event(QStatusBar* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_event(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStatusBar::insertPermanentWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->insertPermanentWidget(index, widget, stretch)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | int PythonQtWrapper_QStatusBar::insertWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->insertWidget(index, widget, stretch)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStatusBar::isSizeGripEnabled(QStatusBar* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isSizeGripEnabled()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStatusBar::paintEvent(QStatusBar* theWrappedObject, QPaintEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_paintEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStatusBar::removeWidget(QStatusBar* theWrappedObject, QWidget* widget) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeWidget(widget)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStatusBar::resizeEvent(QStatusBar* theWrappedObject, QResizeEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_resizeEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStatusBar::setSizeGripEnabled(QStatusBar* theWrappedObject, bool arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setSizeGripEnabled(arg__1)); | ||
} | ||||
void PythonQtWrapper_QStatusBar::showEvent(QStatusBar* theWrappedObject, QShowEvent* arg__1) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_showEvent(arg__1)); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QStatusTipEvent* PythonQtWrapper_QStatusTipEvent::new_QStatusTipEvent(const QString& tip) | ||
{ | ||||
return new QStatusTipEvent(tip); } | ||||
QString PythonQtWrapper_QStatusTipEvent::tip(QStatusTipEvent* theWrappedObject) const | ||||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->tip()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r128 | QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QModelIndex returnValue; | ||||
void* args[2] = {NULL, (void*)&index}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QModelIndex*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStringListModel::buddy(index); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&parent}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::canFetchMore(parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStringListModel::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStringListModel::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStringListModel::customEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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; | ||||
} | ||||
} | ||||
QStringListModel::customEvent(arg__1); | ||||
} | ||||
QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index, int role) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
QVariant returnValue; | ||||
void* args[3] = {NULL, (void*)&index, (void*)&role}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStringListModel::data(index, role); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
florianlink
|
r99 | args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStringListModel::dropMimeData(data, action, row, column, parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::event(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStringListModel::eventFilter(arg__1, arg__2); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&parent}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStringListModel::fetchMore(parent); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
Qt::ItemFlags returnValue; | ||||
void* args[2] = {NULL, (void*)&index}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((Qt::ItemFlags*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::flags(index); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QVariant PythonQtShell_QStringListModel::headerData(int section, Qt::Orientation orientation, int role) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
QVariant returnValue; | ||||
void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r117 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r117 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::headerData(section, orientation, role); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QModelIndex PythonQtShell_QStringListModel::index(int row, int column, const QModelIndex& parent) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||
florianlink
|
r128 | QModelIndex returnValue; | ||
void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QModelIndex*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::index(row, column, parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::insertColumns(int column, int count, const QModelIndex& parent) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r128 | void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::insertColumns(column, count, parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::insertRows(int row, int count, const QModelIndex& parent) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r120 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::insertRows(row, count, parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QMap<int , QVariant > PythonQtShell_QStringListModel::itemData(const QModelIndex& index) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QMap<int , QVariant >" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QMap<int , QVariant > returnValue; | ||||
void* args[2] = {NULL, (void*)&index}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QMap<int , QVariant >*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::itemData(index); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QList<QModelIndex > PythonQtShell_QStringListModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QList<QModelIndex >" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); | ||||
QList<QModelIndex > returnValue; | ||||
void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QList<QModelIndex >*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::match(start, role, value, hits, flags); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QMimeData* PythonQtShell_QStringListModel::mimeData(const QList<QModelIndex >& indexes) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QMimeData*" , "const QList<QModelIndex >&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QMimeData* returnValue; | ||||
void* args[2] = {NULL, (void*)&indexes}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::mimeData(indexes); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QStringList PythonQtShell_QStringListModel::mimeTypes() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QStringList"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | QStringList returnValue; | ||
florianlink
|
r120 | void* args[1] = {NULL}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QStringList*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStringListModel::mimeTypes(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::removeColumns(int column, int count, const QModelIndex& parent) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
bool returnValue; | ||||
void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::removeColumns(column, count, parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::removeRows(int row, int count, const QModelIndex& parent) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r117 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r117 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::removeRows(row, count, parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStringListModel::revert() | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={""}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStringListModel::revert(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int" , "const QModelIndex&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
int returnValue; | ||||
void* args[2] = {NULL, (void*)&parent}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::rowCount(parent); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::setData(const QModelIndex& index, const QVariant& value, int role) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&index, (void*)&value, (void*)&role}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::setData(index, value, role); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::setHeaderData(section, orientation, value, role); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap<int , QVariant >&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[3] = {NULL, (void*)&index, (void*)&roles}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::setItemData(index, roles); | ||
} | ||||
void PythonQtShell_QStringListModel::sort(int column, Qt::SortOrder order) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&column, (void*)&order}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStringListModel::sort(column, order); | ||||
florianlink
|
r117 | } | ||
florianlink
|
r120 | QSize PythonQtShell_QStringListModel::span(const QModelIndex& index) const | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; | ||
florianlink
|
r117 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | QSize returnValue; | ||
florianlink
|
r117 | 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) { | ||||
florianlink
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r120 | returnValue = *((QSize*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r120 | return QStringListModel::span(index); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStringListModel::submit() | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[1] = {NULL}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::submit(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"Qt::DropActions"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
Qt::DropActions returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((Qt::DropActions*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStringListModel::supportedDropActions(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStringListModel::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QStringListModel(parent); } | ||||
QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(const QStringList& strings, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QStringListModel(strings, parent); } | ||||
QVariant PythonQtWrapper_QStringListModel::data(QStringListModel* theWrappedObject, const QModelIndex& index, int role) const | ||||
florianlink
|
r117 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_data(index, role)); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | |||
Qt::ItemFlags PythonQtWrapper_QStringListModel::flags(QStringListModel* theWrappedObject, const QModelIndex& index) const | ||||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_flags(index)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | bool PythonQtWrapper_QStringListModel::insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | bool PythonQtWrapper_QStringListModel::removeRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStringListModel::rowCount(QStringListModel* theWrappedObject, const QModelIndex& parent) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_rowCount(parent)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | bool PythonQtWrapper_QStringListModel::setData(QStringListModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_setData(index, value, role)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStringListModel::setStringList(QStringListModel* theWrappedObject, const QStringList& strings) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setStringList(strings)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStringListModel::sort(QStringListModel* theWrappedObject, int column, Qt::SortOrder order) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_sort(column, order)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStringList PythonQtWrapper_QStringListModel::stringList(QStringListModel* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->stringList()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | Qt::DropActions PythonQtWrapper_QStringListModel::supportedDropActions(QStringListModel* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_supportedDropActions()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r128 | void PythonQtShell_QStyle::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r120 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStyle::childEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::customEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r128 | QStyle::customEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget) const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||||
void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&widget}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | |||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||
florianlink
|
r128 | void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | |||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||||
void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QStyle::drawItemPixmap(painter, rect, alignment, pixmap); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||||
void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | |||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStyle::event(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStyle::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStyle::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStyle::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPixmap PythonQtShell_QStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&iconMode, (void*)&pixmap, (void*)&opt}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QPixmap*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QPixmap(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QStyle::SubControl PythonQtShell_QStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&cc, (void*)&opt, (void*)&pt, (void*)&widget}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QStyle::SubControl*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStyle::SubControl(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QRect PythonQtShell_QStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(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*)&r, (void*)&flags, (void*)&pixmap}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (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; | ||||
} | ||||
} | ||||
return QStyle::itemPixmapRect(r, flags, pixmap); | ||||
} | ||||
florianlink
|
r128 | QRect PythonQtShell_QStyle::itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemTextRect"); | ||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(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*)&fm, (void*)&r, (void*)&flags, (void*)&enabled, (void*)&text}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QRect*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStyle::itemTextRect(fm, r, flags, enabled, text); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | int PythonQtShell_QStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
florianlink
|
r99 | int returnValue; | ||
florianlink
|
r110 | void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r110 | PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((int*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r120 | return int(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::polish(QApplication* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"" , "QApplication*"}; | ||
florianlink
|
r99 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStyle::polish(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::polish(QPalette& arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QPalette&"}; | ||
florianlink
|
r110 | 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; | ||||
} | ||||
} | ||||
QStyle::polish(arg__1); | ||||
} | ||||
void PythonQtShell_QStyle::polish(QWidget* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QWidget*"}; | ||||
florianlink
|
r99 | 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; | ||||
} | ||||
} | ||||
florianlink
|
r110 | QStyle::polish(arg__1); | ||
} | ||||
florianlink
|
r128 | QSize PythonQtShell_QStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||
florianlink
|
r128 | QSize returnValue; | ||
void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&w}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QSize(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPalette PythonQtShell_QStyle::standardPalette() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QPalette"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QPalette returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QPalette*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QStyle::standardPalette(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPixmap PythonQtShell_QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&standardPixmap, (void*)&opt, (void*)&widget}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((QPixmap*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r117 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r128 | return QPixmap(); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | int PythonQtShell_QStyle::styleHint(QStyle::StyleHint stylehint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&stylehint, (void*)&opt, (void*)&widget, (void*)&returnData}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return int(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QRect PythonQtShell_QStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QRect(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QRect PythonQtShell_QStyle::subElementRect(QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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*)&subElement, (void*)&option, (void*)&widget}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QRect*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QRect(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtShell_QStyle::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | QStyle::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QStyle::unpolish(QApplication* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QApplication*"}; | ||||
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; | ||||
} | ||||
} | ||||
QStyle::unpolish(arg__1); | ||||
} | ||||
void PythonQtShell_QStyle::unpolish(QWidget* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); | ||||
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*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStyle::unpolish(arg__1); | ||||
} | ||||
florianlink
|
r110 | QStyle* PythonQtWrapper_QStyle::new_QStyle() | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QStyle(); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QRect PythonQtWrapper_QStyle::static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return (QStyle::alignedRect(direction, alignment, size, rectangle)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStyle::combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option, QWidget* widget) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->combinedLayoutSpacing(controls1, controls2, orientation, option, widget)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStyle::drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_drawItemPixmap(painter, rect, alignment, pixmap)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtWrapper_QStyle::drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_drawItemText(painter, rect, flags, pal, enabled, text, textRole)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QRect PythonQtWrapper_QStyle::itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_itemPixmapRect(r, flags, pixmap)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r110 | int PythonQtWrapper_QStyle::layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option, const QWidget* widget) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->layoutSpacing(control1, control2, orientation, option, widget)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QApplication* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QPalette& arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QWidget* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | const QStyle* PythonQtWrapper_QStyle::proxy(QStyle* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->proxy()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStyle::static_QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QStyle::sliderPositionFromValue(min, max, val, space, upsideDown)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStyle::static_QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QStyle::sliderValueFromPosition(min, max, pos, space, upsideDown)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QIcon PythonQtWrapper_QStyle::standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option, const QWidget* widget) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->standardIcon(standardIcon, option, widget)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QPalette PythonQtWrapper_QStyle::standardPalette(QStyle* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_standardPalette()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QApplication* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_unpolish(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QWidget* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_unpolish(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | Qt::Alignment PythonQtWrapper_QStyle::static_QStyle_visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QStyle::visualAlignment(direction, alignment)); | ||
} | ||||
QPoint PythonQtWrapper_QStyle::static_QStyle_visualPos(Qt::LayoutDirection direction, const QRect& boundingRect, const QPoint& logicalPos) | ||||
{ | ||||
return (QStyle::visualPos(direction, boundingRect, logicalPos)); | ||||
} | ||||
QRect PythonQtWrapper_QStyle::static_QStyle_visualRect(Qt::LayoutDirection direction, const QRect& boundingRect, const QRect& logicalRect) | ||||
{ | ||||
return (QStyle::visualRect(direction, boundingRect, logicalRect)); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QStyleFactory* PythonQtWrapper_QStyleFactory::new_QStyleFactory() | ||
{ | ||||
return new PythonQtShell_QStyleFactory(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r120 | QStyle* PythonQtWrapper_QStyleFactory::static_QStyleFactory_create(const QString& arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return (QStyleFactory::create(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QStringList PythonQtWrapper_QStyleFactory::static_QStyleFactory_keys() | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return (QStyleFactory::keys()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int version, int type) | ||
{ | ||||
return new PythonQtShell_QStyleHintReturn(version, type); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() | ||
{ | ||||
return new PythonQtShell_QStyleHintReturnMask(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() | ||
{ | ||||
return new PythonQtShell_QStyleHintReturnVariant(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(const QStyleOption& other) | ||
{ | ||||
return new PythonQtShell_QStyleOption(other); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(int version, int type) | ||
{ | ||||
return new PythonQtShell_QStyleOption(version, type); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | void PythonQtWrapper_QStyleOption::initFrom(QStyleOption* theWrappedObject, const QWidget* w) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( theWrappedObject->initFrom(w)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r117 | QString PythonQtWrapper_QStyleOption::py_toString(QStyleOption* obj) { | ||
florianlink
|
r110 | QString result; | ||
QDebug d(&result); | ||||
d << *obj; | ||||
return result; | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() | ||
{ | ||||
return new PythonQtShell_QStyleOptionButton(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) | ||
{ | ||||
return new PythonQtShell_QStyleOptionButton(other); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox() | ||
{ | ||||
return new PythonQtShell_QStyleOptionComboBox(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(const QStyleOptionComboBox& other) | ||
{ | ||||
return new PythonQtShell_QStyleOptionComboBox(other); } | ||||
QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionDockWidget(); } | ||||
QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionDockWidget(other); } | ||||
QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionDockWidgetV2(); } | ||||
QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidget& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionDockWidgetV2(other); } | ||||
QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionDockWidgetV2(other); } | ||||
QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFocusRect(); } | ||||
QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFocusRect(other); } | ||||
QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFrame(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) | ||
{ | ||||
return new PythonQtShell_QStyleOptionFrame(other); } | ||||
QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFrameV2(); } | ||||
QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2(const QStyleOptionFrame& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFrameV2(other); } | ||||
QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFrameV2(other); } | ||||
QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFrameV3(); } | ||||
QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3(const QStyleOptionFrame& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFrameV3(other); } | ||||
QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionFrameV3(other); } | ||||
QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionGraphicsItem(); } | ||||
QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionGraphicsItem(other); } | ||||
qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionGroupBox(); } | ||||
QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionGroupBox(other); } | ||||
QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionHeader(); } | ||||
QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionHeader(other); } | ||||
QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionMenuItem(); } | ||||
QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionMenuItem(other); } | ||||
QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionProgressBar(); } | ||||
QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionProgressBar(other); } | ||||
QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionProgressBarV2(); } | ||||
QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2(const QStyleOptionProgressBar& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionProgressBarV2(other); } | ||||
QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionProgressBarV2(other); } | ||||
QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionRubberBand(); } | ||||
QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionRubberBand(other); } | ||||
QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionSizeGrip(); } | ||||
QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionSizeGrip(other); } | ||||
QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionSlider(); } | ||||
QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionSlider(other); } | ||||
QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() | ||||
{ | ||||
return new PythonQtShell_QStyleOptionSpinBox(); } | ||||
QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) | ||||
{ | ||||
return new PythonQtShell_QStyleOptionSpinBox(other); } | ||||