com_trolltech_qt_webkit0.cpp
5113 lines
| 185.7 KiB
| text/x-c
|
CppLexer
florianlink
|
r99 | #include "com_trolltech_qt_webkit0.h" | ||
#include <PythonQtConversion.h> | ||||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtSignalReceiver.h> | ||||
#include <QVariant> | ||||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
florianlink
|
r110 | #include <qgraphicseffect.h> | ||
#include <qgraphicsitem.h> | ||||
#include <qgraphicslayout.h> | ||||
#include <qgraphicsproxywidget.h> | ||||
#include <qgraphicssceneevent.h> | ||||
#include <qgraphicswidget.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 <qmenu.h> | ||||
florianlink
|
r99 | #include <qnetworkaccessmanager.h> | ||
#include <qnetworkreply.h> | ||||
#include <qnetworkrequest.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
florianlink
|
r110 | #include <qpainterpath.h> | ||
florianlink
|
r99 | #include <qpalette.h> | ||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
#include <qprinter.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstringlist.h> | ||||
#include <qstyle.h> | ||||
florianlink
|
r110 | #include <qstyleoption.h> | ||
florianlink
|
r99 | #include <qundostack.h> | ||
#include <qurl.h> | ||||
florianlink
|
r110 | #include <qwebdatabase.h> | ||
#include <qwebelement.h> | ||||
florianlink
|
r99 | #include <qwebframe.h> | ||
#include <qwebhistoryinterface.h> | ||||
#include <qwebpage.h> | ||||
#include <qwebpluginfactory.h> | ||||
florianlink
|
r110 | #include <qwebsecurityorigin.h> | ||
florianlink
|
r99 | #include <qwebsettings.h> | ||
#include <qwebview.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event) | ||
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
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
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 | QGraphicsWebView::changeEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::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
|
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 | QGraphicsWebView::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event) | ||
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); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::closeEvent(event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; | ||
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 | QGraphicsWebView::contextMenuEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::customEvent(QEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r120 | 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); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::customEvent(arg__1); | ||
florianlink
|
r120 | } | ||
void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; | ||||
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; | ||||
} | ||||
} | ||||
QGraphicsWebView::dragEnterEvent(arg__1); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; | ||
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 | QGraphicsWebView::dragLeaveEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; | ||
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 | QGraphicsWebView::dragMoveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* 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[] ={"" , "QGraphicsSceneDragDropEvent*"}; | ||
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; | ||||
} | ||||
} | ||||
QGraphicsWebView::dropEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&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 QGraphicsWebView::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QGraphicsWebView::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*"}; | ||
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
|
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
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QGraphicsWebView::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) | ||
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*"}; | ||
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 | QGraphicsWebView::focusInEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QGraphicsWebView::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); | ||
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
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QGraphicsWebView::focusNextPrevChild(next); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::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); | ||
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 | QGraphicsWebView::focusOutEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||||
void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::getContentsMargins(left, top, right, bottom); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabKeyboardEvent"); | ||
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); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::grabKeyboardEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabMouseEvent"); | ||
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); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::grabMouseEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event) | ||
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); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
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 | QGraphicsWebView::hideEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; | ||
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 | QGraphicsWebView::hoverLeaveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; | ||
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 | QGraphicsWebView::hoverMoveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QStyleOption*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&option}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::initStyleOption(option); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | 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
|
r120 | QGraphicsWebView::inputMethodEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery query) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | QVariant returnValue; | ||
void* args[2] = {NULL, (void*)&query}; | ||||
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("inputMethodQuery", 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 QGraphicsWebView::inputMethodQuery(query); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
QVariant returnValue; | ||||
void* args[3] = {NULL, (void*)&change, (void*)&value}; | ||||
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("itemChange", 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 QGraphicsWebView::itemChange(change, value); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::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*"}; | ||
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 | QGraphicsWebView::keyPressEvent(arg__1); | ||
florianlink
|
r110 | } | ||
void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QKeyEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGraphicsWebView::keyReleaseEvent(arg__1); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* 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[] ={"" , "QGraphicsSceneMouseEvent*"}; | ||
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 | QGraphicsWebView::mouseDoubleClickEvent(arg__1); | ||
} | ||||
void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; | ||||
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; | ||||
} | ||||
} | ||||
QGraphicsWebView::mouseMoveEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; | ||||
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; | ||||
} | ||||
} | ||||
QGraphicsWebView::mousePressEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; | ||||
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; | ||||
} | ||||
} | ||||
QGraphicsWebView::mouseReleaseEvent(arg__1); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; | ||
florianlink
|
r117 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&event}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r117 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r120 | QGraphicsWebView::moveEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
void* args[4] = {NULL, (void*)&arg__1, (void*)&options, (void*)&widget}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGraphicsWebView::paint(arg__1, options, widget); | ||||
} | ||||
florianlink
|
r117 | void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r117 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintWindowFrame"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r117 | static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
} | ||||
} | ||||
QGraphicsWebView::paintWindowFrame(painter, option, widget); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::polishEvent() | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polishEvent"); | ||
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
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::polishEvent(); | ||
florianlink
|
r120 | } | ||
QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propertyName, const QVariant& value) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "propertyChange"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
QVariant returnValue; | ||||
void* args[3] = {NULL, (void*)&propertyName, (void*)&value}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); | ||||
} else { | ||||
returnValue = *((QVariant*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r120 | return QGraphicsWebView::propertyChange(propertyName, value); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); | ||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGraphicsWebView::resizeEvent(event); | ||||
} | ||||
bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); | ||||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
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("sceneEvent", 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 QGraphicsWebView::sceneEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "const QRectF&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&rect}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::setGeometry(rect); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event) | ||
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
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&event}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::showEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
QSizeF returnValue; | ||||
void* args[3] = {NULL, (void*)&which, (void*)&constraint}; | ||||
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("sizeHint", methodInfo, result); | ||||
} else { | ||||
returnValue = *((QSizeF*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QGraphicsWebView::sizeHint(which, constraint); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::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); | ||
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); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabKeyboardEvent"); | ||
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*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::ungrabKeyboardEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabMouseEvent"); | ||
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); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::ungrabMouseEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::updateGeometry() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); | ||
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
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::updateGeometry(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* 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[] ={"" , "QGraphicsSceneWheelEvent*"}; | ||
florianlink
|
r117 | 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); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QGraphicsWebView::wheelEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameEvent"); | ||
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; | ||
void* args[2] = {NULL, (void*)&e}; | ||||
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("windowFrameEvent", 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 QGraphicsWebView::windowFrameEvent(e); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(const QPointF& pos) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameSectionAt"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
Qt::WindowFrameSection returnValue; | ||||
void* args[2] = {NULL, (void*)&pos}; | ||||
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("windowFrameSectionAt", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((Qt::WindowFrameSection*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QGraphicsWebView::windowFrameSectionAt(pos); | ||
florianlink
|
r110 | } | ||
QGraphicsWebView* PythonQtWrapper_QGraphicsWebView::new_QGraphicsWebView(QGraphicsItem* parent) | ||||
{ | ||||
return new PythonQtShell_QGraphicsWebView(parent); } | ||||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::contextMenuEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneContextMenuEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::dragEnterEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::dragLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::dragMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::dropEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dropEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QGraphicsWebView::event(QGraphicsWebView* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_event(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QGraphicsWebView::findText(QGraphicsWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->findText(subString, options)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::focusInEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_focusInEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QGraphicsWebView::focusNextPrevChild(QGraphicsWebView* theWrappedObject, bool next) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_focusNextPrevChild(next)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::focusOutEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_focusOutEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebHistory* PythonQtWrapper_QGraphicsWebView::history(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->history()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QGraphicsWebView::hoverLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_hoverLeaveEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::hoverMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_hoverMoveEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QIcon PythonQtWrapper_QGraphicsWebView::icon(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->icon()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::inputMethodEvent(QGraphicsWebView* theWrappedObject, QInputMethodEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QGraphicsWebView::inputMethodQuery(QGraphicsWebView* theWrappedObject, Qt::InputMethodQuery query) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_inputMethodQuery(query)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QGraphicsWebView::isModified(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isModified()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QGraphicsWebView::itemChange(QGraphicsWebView* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_itemChange(change, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::keyPressEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_keyPressEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::keyReleaseEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::load(QGraphicsWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->load(request, operation, body)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::load(QGraphicsWebView* theWrappedObject, const QUrl& url) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->load(url)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::mouseMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::mousePressEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mousePressEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::mouseReleaseEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebPage* PythonQtWrapper_QGraphicsWebView::page(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->page()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QAction* PythonQtWrapper_QGraphicsWebView::pageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pageAction(action)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::paint(QGraphicsWebView* theWrappedObject, QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_paint(arg__1, options, widget)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QGraphicsWebView::sceneEvent(QGraphicsWebView* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_sceneEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::setContent(QGraphicsWebView* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setContent(data, mimeType, baseUrl)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::setGeometry(QGraphicsWebView* theWrappedObject, const QRectF& rect) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_setGeometry(rect)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::setHtml(QGraphicsWebView* theWrappedObject, const QString& html, const QUrl& baseUrl) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setHtml(html, baseUrl)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::setPage(QGraphicsWebView* theWrappedObject, QWebPage* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setPage(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::setUrl(QGraphicsWebView* theWrappedObject, const QUrl& arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setUrl(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::setZoomFactor(QGraphicsWebView* theWrappedObject, qreal arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setZoomFactor(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebSettings* PythonQtWrapper_QGraphicsWebView::settings(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->settings()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSizeF PythonQtWrapper_QGraphicsWebView::sizeHint(QGraphicsWebView* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_sizeHint(which, constraint)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QGraphicsWebView::title(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->title()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::triggerPageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action, bool checked) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->triggerPageAction(action, checked)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::updateGeometry(QGraphicsWebView* theWrappedObject) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_updateGeometry()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QGraphicsWebView::url(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->url()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QGraphicsWebView::wheelEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneWheelEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_wheelEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qreal PythonQtWrapper_QGraphicsWebView::zoomFactor(QGraphicsWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->zoomFactor()); | ||
florianlink
|
r110 | } | ||
QWebDatabase* PythonQtWrapper_QWebDatabase::new_QWebDatabase(const QWebDatabase& other) | ||||
{ | ||||
return new QWebDatabase(other); } | ||||
QString PythonQtWrapper_QWebDatabase::displayName(QWebDatabase* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->displayName()); | ||||
} | ||||
florianlink
|
r128 | qint64 PythonQtWrapper_QWebDatabase::expectedSize(QWebDatabase* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->expectedSize()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebDatabase::fileName(QWebDatabase* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fileName()); | ||
} | ||||
QString PythonQtWrapper_QWebDatabase::name(QWebDatabase* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->name()); | ||||
florianlink
|
r110 | } | ||
QWebDatabase* PythonQtWrapper_QWebDatabase::operator_assign(QWebDatabase* theWrappedObject, const QWebDatabase& other) | ||||
{ | ||||
return &( (*theWrappedObject)= other); | ||||
} | ||||
QWebSecurityOrigin PythonQtWrapper_QWebDatabase::origin(QWebDatabase* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->origin()); | ||||
} | ||||
void PythonQtWrapper_QWebDatabase::static_QWebDatabase_removeAllDatabases() | ||||
{ | ||||
(QWebDatabase::removeAllDatabases()); | ||||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebDatabase::static_QWebDatabase_removeDatabase(const QWebDatabase& arg__1) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | (QWebDatabase::removeDatabase(arg__1)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | qint64 PythonQtWrapper_QWebDatabase::size(QWebDatabase* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->size()); | ||
florianlink
|
r110 | } | ||
QWebElement* PythonQtWrapper_QWebElement::new_QWebElement() | ||||
{ | ||||
return new QWebElement(); } | ||||
QWebElement* PythonQtWrapper_QWebElement::new_QWebElement(const QWebElement& arg__1) | ||||
{ | ||||
return new QWebElement(arg__1); } | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::addClass(QWebElement* theWrappedObject, const QString& name) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->addClass(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::appendInside(QWebElement* theWrappedObject, const QString& markup) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendInside(markup)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::appendInside(QWebElement* theWrappedObject, const QWebElement& element) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendInside(element)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::appendOutside(QWebElement* theWrappedObject, const QString& markup) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->appendOutside(markup)); | ||
} | ||||
void PythonQtWrapper_QWebElement::appendOutside(QWebElement* theWrappedObject, const QWebElement& element) | ||||
{ | ||||
( theWrappedObject->appendOutside(element)); | ||||
} | ||||
QString PythonQtWrapper_QWebElement::attribute(QWebElement* theWrappedObject, const QString& name, const QString& defaultValue) const | ||||
{ | ||||
return ( theWrappedObject->attribute(name, defaultValue)); | ||||
} | ||||
QString PythonQtWrapper_QWebElement::attributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& defaultValue) const | ||||
{ | ||||
return ( theWrappedObject->attributeNS(namespaceUri, name, defaultValue)); | ||||
} | ||||
QStringList PythonQtWrapper_QWebElement::attributeNames(QWebElement* theWrappedObject, const QString& namespaceUri) const | ||||
{ | ||||
return ( theWrappedObject->attributeNames(namespaceUri)); | ||||
florianlink
|
r120 | } | ||
QStringList PythonQtWrapper_QWebElement::classes(QWebElement* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->classes()); | ||||
} | ||||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebElement::clone(QWebElement* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->clone()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebElement::document(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->document()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::encloseContentsWith(QWebElement* theWrappedObject, const QString& markup) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->encloseContentsWith(markup)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::encloseContentsWith(QWebElement* theWrappedObject, const QWebElement& element) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->encloseContentsWith(element)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::encloseWith(QWebElement* theWrappedObject, const QString& markup) | ||
{ | ||||
( theWrappedObject->encloseWith(markup)); | ||||
} | ||||
void PythonQtWrapper_QWebElement::encloseWith(QWebElement* theWrappedObject, const QWebElement& element) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->encloseWith(element)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QWebElement::evaluateJavaScript(QWebElement* theWrappedObject, const QString& scriptSource) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->evaluateJavaScript(scriptSource)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebElement::findFirst(QWebElement* theWrappedObject, const QString& selectorQuery) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->findFirst(selectorQuery)); | ||
florianlink
|
r120 | } | ||
QWebElement PythonQtWrapper_QWebElement::firstChild(QWebElement* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->firstChild()); | ||||
} | ||||
florianlink
|
r128 | QRect PythonQtWrapper_QWebElement::geometry(QWebElement* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->geometry()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebElement::hasAttribute(QWebElement* theWrappedObject, const QString& name) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hasAttribute(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebElement::hasAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hasAttributeNS(namespaceUri, name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebElement::hasAttributes(QWebElement* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hasAttributes()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebElement::hasClass(QWebElement* theWrappedObject, const QString& name) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hasClass(name)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r110 | bool PythonQtWrapper_QWebElement::hasFocus(QWebElement* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->hasFocus()); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtWrapper_QWebElement::isNull(QWebElement* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isNull()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebElement::lastChild(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->lastChild()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::localName(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->localName()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::namespaceUri(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->namespaceUri()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebElement::nextSibling(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->nextSibling()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebElement::__ne__(QWebElement* theWrappedObject, const QWebElement& o) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( (*theWrappedObject)!= o); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement* PythonQtWrapper_QWebElement::operator_assign(QWebElement* theWrappedObject, const QWebElement& arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject)= arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebElement::__eq__(QWebElement* theWrappedObject, const QWebElement& o) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( (*theWrappedObject)== o); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebElement::parent(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->parent()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::prefix(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->prefix()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QWebElement::prependInside(QWebElement* theWrappedObject, const QString& markup) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->prependInside(markup)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::prependInside(QWebElement* theWrappedObject, const QWebElement& element) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->prependInside(element)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::prependOutside(QWebElement* theWrappedObject, const QString& markup) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->prependOutside(markup)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::prependOutside(QWebElement* theWrappedObject, const QWebElement& element) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->prependOutside(element)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebElement::previousSibling(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->previousSibling()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::removeAllChildren(QWebElement* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeAllChildren()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::removeAttribute(QWebElement* theWrappedObject, const QString& name) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeAttribute(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::removeAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeAttributeNS(namespaceUri, name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::removeClass(QWebElement* theWrappedObject, const QString& name) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeClass(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QWebElement::removeFromDocument(QWebElement* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->removeFromDocument()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::render(QWebElement* theWrappedObject, QPainter* painter) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->render(painter)); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QWebElement::replace(QWebElement* theWrappedObject, const QString& markup) | ||||
{ | ||||
( theWrappedObject->replace(markup)); | ||||
} | ||||
florianlink
|
r120 | void PythonQtWrapper_QWebElement::replace(QWebElement* theWrappedObject, const QWebElement& element) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->replace(element)); | ||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::setAttribute(QWebElement* theWrappedObject, const QString& name, const QString& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAttribute(name, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::setAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAttributeNS(namespaceUri, name, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::setFocus(QWebElement* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFocus()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::setInnerXml(QWebElement* theWrappedObject, const QString& markup) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setInnerXml(markup)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::setOuterXml(QWebElement* theWrappedObject, const QString& markup) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setOuterXml(markup)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QWebElement::setPlainText(QWebElement* theWrappedObject, const QString& text) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->setPlainText(text)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::setStyleProperty(QWebElement* theWrappedObject, const QString& name, const QString& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setStyleProperty(name, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::styleProperty(QWebElement* theWrappedObject, const QString& name, QWebElement::StyleResolveStrategy strategy) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->styleProperty(name, strategy)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::tagName(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tagName()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement* PythonQtWrapper_QWebElement::takeFromDocument(QWebElement* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return &( theWrappedObject->takeFromDocument()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::toInnerXml(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->toInnerXml()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::toOuterXml(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->toOuterXml()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebElement::toPlainText(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->toPlainText()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebElement::toggleClass(QWebElement* theWrappedObject, const QString& name) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->toggleClass(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebFrame* PythonQtWrapper_QWebElement::webFrame(QWebElement* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->webFrame()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | |||
void PythonQtWrapper_QWebFrame::addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->addToJavaScriptWindowObject(name, object)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebFrame::baseUrl(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->baseUrl()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QList<QWebFrame* > PythonQtWrapper_QWebFrame::childFrames(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->childFrames()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | QSize PythonQtWrapper_QWebFrame::contentsSize(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( theWrappedObject->contentsSize()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebFrame::documentElement(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->documentElement()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebFrame::event(QWebFrame* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebFrame*)theWrappedObject)->promoted_event(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebFrame::findFirstElement(QWebFrame* theWrappedObject, const QString& selectorQuery) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->findFirstElement(selectorQuery)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebFrame::frameName(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->frameName()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QRect PythonQtWrapper_QWebFrame::geometry(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->geometry()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebFrame::hasFocus(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hasFocus()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebHitTestResult PythonQtWrapper_QWebFrame::hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hitTestContent(pos)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QIcon PythonQtWrapper_QWebFrame::icon(QWebFrame* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->icon()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->load(request, operation, body)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QUrl& url) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->load(url)); | ||
florianlink
|
r110 | } | ||
QMultiMap<QString , QString > PythonQtWrapper_QWebFrame::metaData(QWebFrame* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->metaData()); | ||||
} | ||||
florianlink
|
r128 | QWebPage* PythonQtWrapper_QWebFrame::page(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->page()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebFrame* PythonQtWrapper_QWebFrame::parentFrame(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->parentFrame()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QPoint PythonQtWrapper_QWebFrame::pos(QWebFrame* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pos()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->render(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* arg__1, const QRegion& clip) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->render(arg__1, clip)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebFrame::renderTreeDump(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->renderTreeDump()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebFrame::requestedUrl(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->requestedUrl()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::scroll(QWebFrame* theWrappedObject, int arg__1, int arg__2) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->scroll(arg__1, arg__2)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QRect PythonQtWrapper_QWebFrame::scrollBarGeometry(QWebFrame* theWrappedObject, Qt::Orientation orientation) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scrollBarGeometry(orientation)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QWebFrame::scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scrollBarMaximum(orientation)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QWebFrame::scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scrollBarMinimum(orientation)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | Qt::ScrollBarPolicy PythonQtWrapper_QWebFrame::scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scrollBarPolicy(orientation)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QWebFrame::scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scrollBarValue(orientation)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QPoint PythonQtWrapper_QWebFrame::scrollPosition(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scrollPosition()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebSecurityOrigin PythonQtWrapper_QWebFrame::securityOrigin(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->securityOrigin()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setContent(data, mimeType, baseUrl)); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QWebFrame::setFocus(QWebFrame* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->setFocus()); | ||||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setHtml(html, baseUrl)); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QWebFrame::setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy) | ||||
{ | ||||
( theWrappedObject->setScrollBarPolicy(orientation, policy)); | ||||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setScrollBarValue(orientation, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::setScrollPosition(QWebFrame* theWrappedObject, const QPoint& pos) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setScrollPosition(pos)); | ||
} | ||||
void PythonQtWrapper_QWebFrame::setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor) | ||||
{ | ||||
( theWrappedObject->setTextSizeMultiplier(factor)); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QWebFrame::setUrl(QWebFrame* theWrappedObject, const QUrl& url) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->setUrl(url)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebFrame::setZoomFactor(QWebFrame* theWrappedObject, qreal factor) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setZoomFactor(factor)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qreal PythonQtWrapper_QWebFrame::textSizeMultiplier(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->textSizeMultiplier()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebFrame::title(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->title()); | ||
} | ||||
QString PythonQtWrapper_QWebFrame::toHtml(QWebFrame* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->toHtml()); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r120 | QString PythonQtWrapper_QWebFrame::toPlainText(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( theWrappedObject->toPlainText()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebFrame::url(QWebFrame* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->url()); | ||
} | ||||
qreal PythonQtWrapper_QWebFrame::zoomFactor(QWebFrame* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->zoomFactor()); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addHistoryEntry"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "const QString&"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&url}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | |||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebHistoryInterface::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); | ||
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); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebHistoryInterface::childEvent(arg__1); | ||
} | ||||
void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QWebHistoryInterface::customEvent(arg__1); | ||||
florianlink
|
r117 | } | ||
florianlink
|
r120 | bool PythonQtShell_QWebHistoryInterface::event(QEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r117 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r117 | void* args[2] = {NULL, (void*)&arg__1}; | ||
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) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r117 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r120 | return QWebHistoryInterface::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | 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
|
r120 | if (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
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r120 | return QWebHistoryInterface::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "historyContains"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "const QString&"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&url}; | ||||
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("historyContains", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return bool(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | 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
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r120 | QWebHistoryInterface::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::new_QWebHistoryInterface(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QWebHistoryInterface(parent); } | ||||
florianlink
|
r128 | QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_defaultInterface() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QWebHistoryInterface::defaultInterface()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_setDefaultInterface(QWebHistoryInterface* defaultInterface) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | (QWebHistoryInterface::setDefaultInterface(defaultInterface)); | ||
florianlink
|
r110 | } | ||
QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult() | ||||
{ | ||||
return new QWebHitTestResult(); } | ||||
QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult(const QWebHitTestResult& other) | ||||
{ | ||||
return new QWebHitTestResult(other); } | ||||
QString PythonQtWrapper_QWebHitTestResult::alternateText(QWebHitTestResult* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->alternateText()); | ||||
} | ||||
florianlink
|
r128 | QRect PythonQtWrapper_QWebHitTestResult::boundingRect(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->boundingRect()); | ||
florianlink
|
r110 | } | ||
QWebElement PythonQtWrapper_QWebHitTestResult::element(QWebHitTestResult* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->element()); | ||||
} | ||||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebHitTestResult::enclosingBlockElement(QWebHitTestResult* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->enclosingBlockElement()); | ||||
} | ||||
florianlink
|
r120 | QWebFrame* PythonQtWrapper_QWebHitTestResult::frame(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( theWrappedObject->frame()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebHitTestResult::imageUrl(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->imageUrl()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebHitTestResult::isContentEditable(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isContentEditable()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebHitTestResult::isContentSelected(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isContentSelected()); | ||
florianlink
|
r110 | } | ||
bool PythonQtWrapper_QWebHitTestResult::isNull(QWebHitTestResult* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->isNull()); | ||||
} | ||||
florianlink
|
r128 | QWebElement PythonQtWrapper_QWebHitTestResult::linkElement(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->linkElement()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QWebFrame* PythonQtWrapper_QWebHitTestResult::linkTargetFrame(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->linkTargetFrame()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebHitTestResult::linkText(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->linkText()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebHitTestResult::linkTitle(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->linkTitle()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebHitTestResult::linkUrl(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->linkUrl()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QPixmap PythonQtWrapper_QWebHitTestResult::pixmap(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pixmap()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QPoint PythonQtWrapper_QWebHitTestResult::pos(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pos()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebHitTestResult::title(QWebHitTestResult* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->title()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::actionEvent(QActionEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QActionEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebInspector::actionEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebInspector::changeEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QWebInspector::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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); | ||
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); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebInspector::closeEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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; | ||||
} | ||||
} | ||||
QWebInspector::contextMenuEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QWebInspector::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
|
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); | ||
florianlink
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QWebInspector::customEvent(arg__1); | ||||
} | ||||
int PythonQtShell_QWebInspector::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
|
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("devType", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((int*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QWebInspector::devType(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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); | ||
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); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebInspector::dragEnterEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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 | QWebInspector::dragLeaveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QWebInspector::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); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r120 | QWebInspector::dragMoveEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::dropEvent(QDropEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDropEvent*"}; | ||
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 | QWebInspector::dropEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QWebInspector::enterEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebInspector::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
|
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
|
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
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QWebInspector::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebInspector::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*"}; | ||
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
|
r128 | return QWebInspector::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); | ||
florianlink
|
r120 | 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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebInspector::focusInEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next) | ||
florianlink
|
r120 | { | ||
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"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&next}; | ||||
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("focusNextPrevChild", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QWebInspector::focusNextPrevChild(next); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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
|
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
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QWebInspector::focusOutEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
florianlink
|
r128 | if (obj && !PythonQtSlotFunction_Check(obj)) { | ||
static const char* argumentList[] ={"int" , "int"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
int returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
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 { | ||
florianlink
|
r128 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QWebInspector::heightForWidth(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event) | ||
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); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebInspector::hideEvent(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::inputMethodEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery arg__1) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | QVariant returnValue; | ||
florianlink
|
r110 | 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) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | return QWebInspector::inputMethodQuery(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* arg__1) | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::keyPressEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* arg__1) | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::keyReleaseEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::languageChange() | ||
florianlink
|
r99 | { | ||
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
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::languageChange(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::leaveEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::leaveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1) const | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | return QWebInspector::metric(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSize PythonQtShell_QWebInspector::minimumSizeHint() const | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | return QWebInspector::minimumSizeHint(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); | ||
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
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::mouseDoubleClickEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::mouseMoveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); | ||
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
|
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
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::mousePressEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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
|
r128 | 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 | QWebInspector::mouseReleaseEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); | ||
florianlink
|
r110 | 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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebInspector::moveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const | ||
florianlink
|
r99 | { | ||
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*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | QPaintEngine* returnValue; | ||
florianlink
|
r110 | void* args[1] = {NULL}; | ||
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("paintEngine", methodInfo, result); | ||||
} else { | ||||
returnValue = *((QPaintEngine**)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | return QWebInspector::paintEngine(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r110 | 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 | QWebInspector::paintEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event) | ||
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
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebInspector::resizeEvent(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::showEvent(QShowEvent* event) | ||
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*)&event}; | ||||
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 | QWebInspector::showEvent(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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 | QWebInspector::tabletEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::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 | QWebInspector::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); | ||
florianlink
|
r99 | 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
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QWebInspector::wheelEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QWebInspector* PythonQtWrapper_QWebInspector::new_QWebInspector(QWidget* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QWebInspector(parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QWebInspector::event(QWebInspector* theWrappedObject, QEvent* arg__1) | ||
{ | ||||
return ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_event(arg__1)); | ||||
} | ||||
florianlink
|
r120 | void PythonQtWrapper_QWebInspector::hideEvent(QWebInspector* theWrappedObject, QHideEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_hideEvent(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebPage* PythonQtWrapper_QWebInspector::page(QWebInspector* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->page()); | ||||
} | ||||
florianlink
|
r120 | void PythonQtWrapper_QWebInspector::resizeEvent(QWebInspector* theWrappedObject, QResizeEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_resizeEvent(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QWebInspector::setPage(QWebInspector* theWrappedObject, QWebPage* page) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->setPage(page)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebInspector::showEvent(QWebInspector* theWrappedObject, QShowEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_showEvent(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QSize PythonQtWrapper_QWebInspector::sizeHint(QWebInspector* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( theWrappedObject->sizeHint()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "acceptNavigationRequest"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QNetworkRequest&" , "QWebPage::NavigationType"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
bool returnValue; | ||||
void* args[4] = {NULL, (void*)&frame, (void*)&request, (void*)&type}; | ||||
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("acceptNavigationRequest", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QWebPage::acceptNavigationRequest(frame, request, type); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPage::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
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebPage::childEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r110 | QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame, const QString& oldFile) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "chooseFile"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"QString" , "QWebFrame*" , "const QString&"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r110 | QString returnValue; | ||
void* args[3] = {NULL, (void*)&originatingFrame, (void*)&oldFile}; | ||||
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("chooseFile", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((QString*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
} | ||||
} | ||||
return QWebPage::chooseFile(originatingFrame, oldFile); | ||||
} | ||||
florianlink
|
r128 | QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createPlugin"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||
florianlink
|
r128 | QObject* returnValue; | ||
void* args[5] = {NULL, (void*)&classid, (void*)&url, (void*)¶mNames, (void*)¶mValues}; | ||||
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("createPlugin", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((QObject**)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QWebPage::createPlugin(classid, url, paramNames, paramValues); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWindow"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QWebPage*" , "QWebPage::WebWindowType"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QWebPage* returnValue; | ||||
void* args[2] = {NULL, (void*)&type}; | ||||
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("createWindow", methodInfo, result); | ||||
} else { | ||||
returnValue = *((QWebPage**)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QWebPage::createWindow(type); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPage::customEvent(QEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r120 | 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
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebPage::customEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebPage::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
|
r110 | 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); | ||
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
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QWebPage::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebPage::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
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r99 | bool returnValue; | ||
florianlink
|
r128 | void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||
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("eventFilter", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QWebPage::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension, const QWebPage::ExtensionOption* option, QWebPage::ExtensionReturn* output) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"bool" , "QWebPage::Extension" , "const QWebPage::ExtensionOption*" , "QWebPage::ExtensionReturn*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
florianlink
|
r99 | bool returnValue; | ||
florianlink
|
r110 | void* args[4] = {NULL, (void*)&extension, (void*)&option, (void*)&output}; | ||
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("extension", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QWebPage::extension(extension, option, output); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptAlert"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QWebFrame*" , "const QString&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&originatingFrame, (void*)&msg}; | ||||
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 | QWebPage::javaScriptAlert(originatingFrame, msg); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptConfirm"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&originatingFrame, (void*)&msg}; | ||||
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("javaScriptConfirm", 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 QWebPage::javaScriptConfirm(originatingFrame, msg); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptConsoleMessage"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "const QString&" , "int" , "const QString&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
void* args[4] = {NULL, (void*)&message, (void*)&lineNumber, (void*)&sourceID}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QWebPage::javaScriptConsoleMessage(message, lineNumber, sourceID); | ||||
} | ||||
bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptPrompt"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&" , "const QString&" , "QString*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r128 | void* args[5] = {NULL, (void*)&originatingFrame, (void*)&msg, (void*)&defaultValue, (void*)&result}; | ||
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("javaScriptPrompt", 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 QWebPage::javaScriptPrompt(originatingFrame, msg, defaultValue, result); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QWebPage::Extension"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&extension}; | ||
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("supportsExtension", 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 QWebPage::supportsExtension(extension); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPage::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 | QWebPage::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action, bool checked) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "triggerAction"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QWebPage::WebAction" , "bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&action, (void*)&checked}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebPage::triggerAction(action, checked); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userAgentForUrl"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QString" , "const QUrl&"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | QString returnValue; | ||
void* args[2] = {NULL, (void*)&url}; | ||||
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("userAgentForUrl", methodInfo, result); | ||||
} else { | ||||
returnValue = *((QString*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QWebPage::userAgentForUrl(url); | ||
florianlink
|
r99 | } | ||
QWebPage* PythonQtWrapper_QWebPage::new_QWebPage(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QWebPage(parent); } | ||||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_acceptNavigationRequest(frame, request, type)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QAction* PythonQtWrapper_QWebPage::action(QWebPage* theWrappedObject, QWebPage::WebAction action) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->action(action)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | quint64 PythonQtWrapper_QWebPage::bytesReceived(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->bytesReceived()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebPage::chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_chooseFile(originatingFrame, oldFile)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QObject* PythonQtWrapper_QWebPage::createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createPlugin(classid, url, paramNames, paramValues)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QMenu* PythonQtWrapper_QWebPage::createStandardContextMenu(QWebPage* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->createStandardContextMenu()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebPage* PythonQtWrapper_QWebPage::createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createWindow(type)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebFrame* PythonQtWrapper_QWebPage::currentFrame(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->currentFrame()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::event(QWebPage* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_event(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::extension(QWebPage* theWrappedObject, QWebPage::Extension extension, const QWebPage::ExtensionOption* option, QWebPage::ExtensionReturn* output) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_extension(extension, option, output)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::findText(QWebPage* theWrappedObject, const QString& subString, QWebPage::FindFlags options) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->findText(subString, options)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::focusNextPrevChild(QWebPage* theWrappedObject, bool next) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->focusNextPrevChild(next)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::forwardUnsupportedContent(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->forwardUnsupportedContent()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebFrame* PythonQtWrapper_QWebPage::frameAt(QWebPage* theWrappedObject, const QPoint& pos) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->frameAt(pos)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebHistory* PythonQtWrapper_QWebPage::history(QWebPage* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->history()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QWebPage::inputMethodQuery(QWebPage* theWrappedObject, Qt::InputMethodQuery property) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->inputMethodQuery(property)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::isContentEditable(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isContentEditable()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::isModified(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isModified()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptAlert(originatingFrame, msg)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConfirm(originatingFrame, msg)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConsoleMessage(message, lineNumber, sourceID)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptPrompt(originatingFrame, msg, defaultValue, result)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebPage::LinkDelegationPolicy PythonQtWrapper_QWebPage::linkDelegationPolicy(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->linkDelegationPolicy()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebFrame* PythonQtWrapper_QWebPage::mainFrame(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->mainFrame()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QNetworkAccessManager* PythonQtWrapper_QWebPage::networkAccessManager(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->networkAccessManager()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPalette PythonQtWrapper_QWebPage::palette(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->palette()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebPluginFactory* PythonQtWrapper_QWebPage::pluginFactory(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pluginFactory()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSize PythonQtWrapper_QWebPage::preferredContentsSize(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->preferredContentsSize()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebPage::selectedText(QWebPage* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->selectedText()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setContentEditable(QWebPage* theWrappedObject, bool editable) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setContentEditable(editable)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setForwardUnsupportedContent(QWebPage* theWrappedObject, bool forward) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setForwardUnsupportedContent(forward)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setLinkDelegationPolicy(QWebPage* theWrappedObject, QWebPage::LinkDelegationPolicy policy) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setLinkDelegationPolicy(policy)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setNetworkAccessManager(QWebPage* theWrappedObject, QNetworkAccessManager* manager) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setNetworkAccessManager(manager)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setPalette(QWebPage* theWrappedObject, const QPalette& palette) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setPalette(palette)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setPluginFactory(QWebPage* theWrappedObject, QWebPluginFactory* factory) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setPluginFactory(factory)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setPreferredContentsSize(QWebPage* theWrappedObject, const QSize& size) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setPreferredContentsSize(size)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setView(QWebPage* theWrappedObject, QWidget* view) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setView(view)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::setViewportSize(QWebPage* theWrappedObject, const QSize& size) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setViewportSize(size)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebSettings* PythonQtWrapper_QWebPage::settings(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->settings()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_supportsExtension(extension)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebPage::swallowContextMenuEvent(QWebPage* theWrappedObject, QContextMenuEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->swallowContextMenuEvent(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | quint64 PythonQtWrapper_QWebPage::totalBytes(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->totalBytes()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_triggerAction(action, checked)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QUndoStack* PythonQtWrapper_QWebPage::undoStack(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->undoStack()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebPage::updatePositionDependentActions(QWebPage* theWrappedObject, const QPoint& pos) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->updatePositionDependentActions(pos)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebPage::userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_userAgentForUrl(url)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QWidget* PythonQtWrapper_QWebPage::view(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->view()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSize PythonQtWrapper_QWebPage::viewportSize(QWebPage* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->viewportSize()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QWebPage::ChooseMultipleFilesExtensionOption* PythonQtWrapper_QWebPage_ChooseMultipleFilesExtensionOption::new_QWebPage_ChooseMultipleFilesExtensionOption() | ||
{ | ||||
return new PythonQtShell_QWebPage_ChooseMultipleFilesExtensionOption(); } | ||||
QWebPage::ChooseMultipleFilesExtensionReturn* PythonQtWrapper_QWebPage_ChooseMultipleFilesExtensionReturn::new_QWebPage_ChooseMultipleFilesExtensionReturn() | ||||
{ | ||||
return new PythonQtShell_QWebPage_ChooseMultipleFilesExtensionReturn(); } | ||||
QWebPage::ErrorPageExtensionOption* PythonQtWrapper_QWebPage_ErrorPageExtensionOption::new_QWebPage_ErrorPageExtensionOption() | ||||
{ | ||||
return new PythonQtShell_QWebPage_ErrorPageExtensionOption(); } | ||||
QWebPage::ErrorPageExtensionReturn* PythonQtWrapper_QWebPage_ErrorPageExtensionReturn::new_QWebPage_ErrorPageExtensionReturn() | ||||
{ | ||||
return new PythonQtShell_QWebPage_ErrorPageExtensionReturn(); } | ||||
QWebPage::ExtensionOption* PythonQtWrapper_QWebPage_ExtensionOption::new_QWebPage_ExtensionOption() | ||||
{ | ||||
return new PythonQtShell_QWebPage_ExtensionOption(); } | ||||
florianlink
|
r128 | |||
QWebPage::ExtensionReturn* PythonQtWrapper_QWebPage_ExtensionReturn::new_QWebPage_ExtensionReturn() | ||||
{ | ||||
return new PythonQtShell_QWebPage_ExtensionReturn(); } | ||||
void PythonQtShell_QWebPluginFactory::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*"}; | ||
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 | QWebPluginFactory::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); | ||||
QObject* returnValue; | ||||
void* args[5] = {NULL, (void*)&mimeType, (void*)&arg__2, (void*)&argumentNames, (void*)&argumentValues}; | ||||
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("create", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QObject**)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return 0; | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPluginFactory::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; | ||||
} | ||||
} | ||||
QWebPluginFactory::customEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QWebPluginFactory::event(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r99 | bool returnValue; | ||
florianlink
|
r128 | 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
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QWebPluginFactory::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebPluginFactory::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); | ||
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
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QWebPluginFactory::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option, QWebPluginFactory::ExtensionReturn* output) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QWebPluginFactory::Extension" , "const QWebPluginFactory::ExtensionOption*" , "QWebPluginFactory::ExtensionReturn*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[4] = {NULL, (void*)&extension, (void*)&option, (void*)&output}; | ||
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("extension", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r117 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r128 | return QWebPluginFactory::extension(extension, option, output); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | QList<QWebPluginFactory::Plugin > PythonQtShell_QWebPluginFactory::plugins() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "plugins"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QList<QWebPluginFactory::Plugin >"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
QList<QWebPluginFactory::Plugin > 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("plugins", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((QList<QWebPluginFactory::Plugin >*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QList<QWebPluginFactory::Plugin >(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebPluginFactory::refreshPlugins() | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "refreshPlugins"); | ||
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); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebPluginFactory::refreshPlugins(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Extension extension) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QWebPluginFactory::Extension"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&extension}; | ||||
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("supportsExtension", 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 QWebPluginFactory::supportsExtension(extension); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtShell_QWebPluginFactory::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 | QWebPluginFactory::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
QWebPluginFactory* PythonQtWrapper_QWebPluginFactory::new_QWebPluginFactory(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QWebPluginFactory(parent); } | ||||
florianlink
|
r128 | bool PythonQtWrapper_QWebPluginFactory::extension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option, QWebPluginFactory::ExtensionReturn* output) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_extension(extension, option, output)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | void PythonQtWrapper_QWebPluginFactory::refreshPlugins(QWebPluginFactory* theWrappedObject) | ||
{ | ||||
( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_refreshPlugins()); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtWrapper_QWebPluginFactory::supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_supportsExtension(extension)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QWebPluginFactory::ExtensionOption* PythonQtWrapper_QWebPluginFactory_ExtensionOption::new_QWebPluginFactory_ExtensionOption() | ||
{ | ||||
return new PythonQtShell_QWebPluginFactory_ExtensionOption(); } | ||||
QWebPluginFactory::ExtensionReturn* PythonQtWrapper_QWebPluginFactory_ExtensionReturn::new_QWebPluginFactory_ExtensionReturn() | ||||
{ | ||||
return new PythonQtShell_QWebPluginFactory_ExtensionReturn(); } | ||||
QWebPluginFactory::MimeType* PythonQtWrapper_QWebPluginFactory_MimeType::new_QWebPluginFactory_MimeType() | ||||
{ | ||||
return new PythonQtShell_QWebPluginFactory_MimeType(); } | ||||
florianlink
|
r120 | bool PythonQtWrapper_QWebPluginFactory_MimeType::__ne__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const | ||
{ | ||||
return ( (*theWrappedObject)!= other); | ||||
} | ||||
bool PythonQtWrapper_QWebPluginFactory_MimeType::__eq__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const | ||||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( (*theWrappedObject)== other); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
QWebPluginFactory::Plugin* PythonQtWrapper_QWebPluginFactory_Plugin::new_QWebPluginFactory_Plugin() | ||||
{ | ||||
return new PythonQtShell_QWebPluginFactory_Plugin(); } | ||||
QWebSecurityOrigin* PythonQtWrapper_QWebSecurityOrigin::new_QWebSecurityOrigin(const QWebSecurityOrigin& other) | ||||
{ | ||||
return new QWebSecurityOrigin(other); } | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_addLocalScheme(const QString& scheme) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSecurityOrigin::addLocalScheme(scheme)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QList<QWebSecurityOrigin > PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_allOrigins() | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QWebSecurityOrigin::allOrigins()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtWrapper_QWebSecurityOrigin::databaseQuota(QWebSecurityOrigin* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->databaseQuota()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qint64 PythonQtWrapper_QWebSecurityOrigin::databaseUsage(QWebSecurityOrigin* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->databaseUsage()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QList<QWebDatabase > PythonQtWrapper_QWebSecurityOrigin::databases(QWebSecurityOrigin* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->databases()); | ||
florianlink
|
r110 | } | ||
QString PythonQtWrapper_QWebSecurityOrigin::host(QWebSecurityOrigin* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->host()); | ||||
} | ||||
florianlink
|
r128 | QStringList PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_localSchemes() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QWebSecurityOrigin::localSchemes()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | QWebSecurityOrigin* PythonQtWrapper_QWebSecurityOrigin::operator_assign(QWebSecurityOrigin* theWrappedObject, const QWebSecurityOrigin& other) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return &( (*theWrappedObject)= other); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | int PythonQtWrapper_QWebSecurityOrigin::port(QWebSecurityOrigin* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( theWrappedObject->port()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_removeLocalScheme(const QString& scheme) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | (QWebSecurityOrigin::removeLocalScheme(scheme)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebSecurityOrigin::scheme(QWebSecurityOrigin* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scheme()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSecurityOrigin::setDatabaseQuota(QWebSecurityOrigin* theWrappedObject, qint64 quota) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setDatabaseQuota(quota)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | |||
void PythonQtWrapper_QWebSettings::static_QWebSettings_clearIconDatabase() | ||||
florianlink
|
r110 | { | ||
florianlink
|
r128 | (QWebSettings::clearIconDatabase()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_clearMemoryCaches() | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSettings::clearMemoryCaches()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebSettings::defaultTextEncoding(QWebSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->defaultTextEncoding()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_enablePersistentStorage(const QString& path) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSettings::enablePersistentStorage(path)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebSettings::fontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fontFamily(which)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | int PythonQtWrapper_QWebSettings::fontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( theWrappedObject->fontSize(type)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QWebSettings* PythonQtWrapper_QWebSettings::static_QWebSettings_globalSettings() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QWebSettings::globalSettings()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebSettings::static_QWebSettings_iconDatabasePath() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QWebSettings::iconDatabasePath()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QIcon PythonQtWrapper_QWebSettings::static_QWebSettings_iconForUrl(const QUrl& url) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QWebSettings::iconForUrl(url)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebSettings::localStoragePath(QWebSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->localStoragePath()); | ||
} | ||||
int PythonQtWrapper_QWebSettings::static_QWebSettings_maximumPagesInCache() | ||||
{ | ||||
return (QWebSettings::maximumPagesInCache()); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r120 | qint64 PythonQtWrapper_QWebSettings::static_QWebSettings_offlineStorageDefaultQuota() | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return (QWebSettings::offlineStorageDefaultQuota()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebSettings::static_QWebSettings_offlineStoragePath() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QWebSettings::offlineStoragePath()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebSettings::static_QWebSettings_offlineWebApplicationCachePath() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QWebSettings::offlineWebApplicationCachePath()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qint64 PythonQtWrapper_QWebSettings::static_QWebSettings_offlineWebApplicationCacheQuota() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QWebSettings::offlineWebApplicationCacheQuota()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::resetAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->resetAttribute(attr)); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QWebSettings::resetFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) | ||||
{ | ||||
( theWrappedObject->resetFontFamily(which)); | ||||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::resetFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->resetFontSize(type)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::setAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr, bool on) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAttribute(attr, on)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::setDefaultTextEncoding(QWebSettings* theWrappedObject, const QString& encoding) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setDefaultTextEncoding(encoding)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::setFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which, const QString& family) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFontFamily(which, family)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::setFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type, int size) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFontSize(type, size)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setIconDatabasePath(const QString& location) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | (QWebSettings::setIconDatabasePath(location)); | ||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::setLocalStoragePath(QWebSettings* theWrappedObject, const QString& path) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setLocalStoragePath(path)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setMaximumPagesInCache(int pages) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | (QWebSettings::setMaximumPagesInCache(pages)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSettings::setObjectCacheCapacities(cacheMinDeadCapacity, cacheMaxDead, totalCapacity)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineStorageDefaultQuota(qint64 maximumSize) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | (QWebSettings::setOfflineStorageDefaultQuota(maximumSize)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineStoragePath(const QString& path) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSettings::setOfflineStoragePath(path)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineWebApplicationCachePath(const QString& path) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSettings::setOfflineWebApplicationCachePath(path)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineWebApplicationCacheQuota(qint64 maximumSize) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSettings::setOfflineWebApplicationCacheQuota(maximumSize)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::setUserStyleSheetUrl(QWebSettings* theWrappedObject, const QUrl& location) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setUserStyleSheetUrl(location)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebSettings::static_QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmap& graphic) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QWebSettings::setWebGraphic(type, graphic)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebSettings::testAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->testAttribute(attr)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebSettings::userStyleSheetUrl(QWebSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->userStyleSheetUrl()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r128 | QPixmap PythonQtWrapper_QWebSettings::static_QWebSettings_webGraphic(QWebSettings::WebGraphic type) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QWebSettings::webGraphic(type)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | |||
void PythonQtShell_QWebView::actionEvent(QActionEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QActionEvent*"}; | ||
florianlink
|
r99 | 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 | QWebView::actionEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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 | QWebView::changeEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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
|
r99 | 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 | QWebView::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::closeEvent(QCloseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QCloseEvent*"}; | ||
florianlink
|
r99 | 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 | QWebView::closeEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QContextMenuEvent*"}; | ||
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 | QWebView::contextMenuEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWindow"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"QWebView*" , "QWebPage::WebWindowType"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | QWebView* returnValue; | ||
void* args[2] = {NULL, (void*)&type}; | ||||
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) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("createWindow", methodInfo, result); | ||||
} else { | ||||
returnValue = *((QWebView**)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | return QWebView::createWindow(type); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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*"}; | ||
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 | QWebView::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QWebView::devType() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
int 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("devType", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((int*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QWebView::devType(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDragEnterEvent*"}; | ||
florianlink
|
r99 | 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 | QWebView::dragEnterEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; | ||
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 | QWebView::dragLeaveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDragMoveEvent*"}; | ||
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 | QWebView::dragMoveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QDropEvent*"}; | ||
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 | QWebView::dropEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::enterEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
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 | QWebView::enterEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebView::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
|
r99 | 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
|
r128 | return QWebView::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebView::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*"}; | ||
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
|
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
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | return QWebView::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) | ||
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}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebView::focusInEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QWebView::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"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r128 | 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 { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QWebView::focusNextPrevChild(next); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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
|
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 | QWebView::focusOutEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QWebView::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"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | int returnValue; | ||
florianlink
|
r99 | 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("heightForWidth", 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 QWebView::heightForWidth(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::hideEvent(QHideEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | 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 | QWebView::hideEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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 | QWebView::inputMethodEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery property) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
QVariant returnValue; | ||||
void* args[2] = {NULL, (void*)&property}; | ||||
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("inputMethodQuery", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QWebView::inputMethodQuery(property); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QWebView::keyPressEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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
|
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 | QWebView::keyReleaseEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r120 | void PythonQtShell_QWebView::languageChange() | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); | ||
florianlink
|
r117 | 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; | ||||
} | ||||
} | ||||
QWebView::languageChange(); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QWebView::leaveEvent(QEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
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); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QWebView::leaveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | int returnValue; | ||
florianlink
|
r120 | void* args[2] = {NULL, (void*)&arg__1}; | ||
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("metric", 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 QWebView::metric(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSize PythonQtShell_QWebView::minimumSizeHint() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); | ||
florianlink
|
r99 | 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 QWebView::minimumSizeHint(); | ||||
} | ||||
void PythonQtShell_QWebView::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
|
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 | QWebView::mouseDoubleClickEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
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
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QWebView::mouseMoveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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
|
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
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QWebView::mousePressEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMouseEvent*"}; | ||
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); | ||||
florianlink
|
r120 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r128 | QWebView::mouseReleaseEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::moveEvent(QMoveEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QMoveEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QWebView::moveEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r117 | QPaintEngine* PythonQtShell_QWebView::paintEngine() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r117 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r117 | static const char* argumentList[] ={"QPaintEngine*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r117 | QPaintEngine* returnValue; | ||
florianlink
|
r110 | 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
|
r117 | PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r117 | returnValue = *((QPaintEngine**)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r117 | return QWebView::paintEngine(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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
|
r117 | 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 | QWebView::paintEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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*"}; | ||
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
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QWebView::resizeEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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*"}; | ||
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 | QWebView::showEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::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 | QWebView::tabletEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r117 | void PythonQtShell_QWebView::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r117 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r117 | 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
|
r117 | QWebView::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QWheelEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QWebView::wheelEvent(arg__1); | ||||
} | ||||
florianlink
|
r120 | QWebView* PythonQtWrapper_QWebView::new_QWebView(QWidget* parent) | ||
{ | ||||
return new PythonQtShell_QWebView(parent); } | ||||
florianlink
|
r128 | void PythonQtWrapper_QWebView::changeEvent(QWebView* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_changeEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | |||
florianlink
|
r128 | void PythonQtWrapper_QWebView::contextMenuEvent(QWebView* theWrappedObject, QContextMenuEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | |||
florianlink
|
r128 | QWebView* PythonQtWrapper_QWebView::createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_createWindow(type)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::dragEnterEvent(QWebView* theWrappedObject, QDragEnterEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::dragLeaveEvent(QWebView* theWrappedObject, QDragLeaveEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::dragMoveEvent(QWebView* theWrappedObject, QDragMoveEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::dropEvent(QWebView* theWrappedObject, QDropEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dropEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebView::event(QWebView* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_event(arg__1)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebView::findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->findText(subString, options)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::focusInEvent(QWebView* theWrappedObject, QFocusEvent* arg__1) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusInEvent(arg__1)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebView::focusNextPrevChild(QWebView* theWrappedObject, bool next) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusNextPrevChild(next)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::focusOutEvent(QWebView* theWrappedObject, QFocusEvent* arg__1) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusOutEvent(arg__1)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QWebHistory* PythonQtWrapper_QWebView::history(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->history()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QIcon PythonQtWrapper_QWebView::icon(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->icon()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::inputMethodEvent(QWebView* theWrappedObject, QInputMethodEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QWebView::inputMethodQuery(QWebView* theWrappedObject, Qt::InputMethodQuery property) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_inputMethodQuery(property)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QWebView::isModified(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isModified()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::keyPressEvent(QWebView* theWrappedObject, QKeyEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_keyPressEvent(arg__1)); | ||
} | ||||
void PythonQtWrapper_QWebView::keyReleaseEvent(QWebView* theWrappedObject, QKeyEvent* arg__1) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->load(request, operation, body)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QUrl& url) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( theWrappedObject->load(url)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtWrapper_QWebView::mouseDoubleClickEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::mouseMoveEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::mousePressEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mousePressEvent(arg__1)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::mouseReleaseEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebPage* PythonQtWrapper_QWebView::page(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->page()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QAction* PythonQtWrapper_QWebView::pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pageAction(action)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::paintEvent(QWebView* theWrappedObject, QPaintEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_paintEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPainter::RenderHints PythonQtWrapper_QWebView::renderHints(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->renderHints()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::resizeEvent(QWebView* theWrappedObject, QResizeEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_resizeEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebView::selectedText(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->selectedText()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setContent(data, mimeType, baseUrl)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setHtml(html, baseUrl)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setPage(QWebView* theWrappedObject, QWebPage* page) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setPage(page)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setRenderHint(QWebView* theWrappedObject, QPainter::RenderHint hint, bool enabled) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setRenderHint(hint, enabled)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setRenderHints(QWebView* theWrappedObject, QPainter::RenderHints hints) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setRenderHints(hints)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setTextSizeMultiplier(factor)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setUrl(QWebView* theWrappedObject, const QUrl& url) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setUrl(url)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::setZoomFactor(QWebView* theWrappedObject, qreal factor) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setZoomFactor(factor)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QWebSettings* PythonQtWrapper_QWebView::settings(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->settings()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSize PythonQtWrapper_QWebView::sizeHint(QWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->sizeHint()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qreal PythonQtWrapper_QWebView::textSizeMultiplier(QWebView* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->textSizeMultiplier()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QWebView::title(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->title()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->triggerPageAction(action, checked)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QUrl PythonQtWrapper_QWebView::url(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->url()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QWebView::wheelEvent(QWebView* theWrappedObject, QWheelEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_wheelEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qreal PythonQtWrapper_QWebView::zoomFactor(QWebView* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->zoomFactor()); | ||
florianlink
|
r99 | } | ||