com_trolltech_qt_core1.cpp
5477 lines
| 190.1 KiB
| text/x-c
|
CppLexer
florianlink
|
r99 | #include "com_trolltech_qt_core1.h" | ||
#include <PythonQtConversion.h> | ||||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtSignalReceiver.h> | ||||
florianlink
|
r110 | #include <QStringList> | ||
florianlink
|
r99 | #include <QTextCodec> | ||
florianlink
|
r110 | #include <QVarLengthArray> | ||
florianlink
|
r99 | #include <QVariant> | ||
florianlink
|
r110 | #include <qabstractanimation.h> | ||
#include <qabstractstate.h> | ||||
#include <qabstracttransition.h> | ||||
#include <qanimationgroup.h> | ||||
florianlink
|
r99 | #include <qbytearray.h> | ||
#include <qcoreevent.h> | ||||
florianlink
|
r110 | #include <qeasingcurve.h> | ||
florianlink
|
r99 | #include <qfile.h> | ||
#include <qiodevice.h> | ||||
#include <qlist.h> | ||||
florianlink
|
r110 | #include <qlocale.h> | ||
florianlink
|
r99 | #include <qmutex.h> | ||
#include <qobject.h> | ||||
florianlink
|
r110 | #include <qpair.h> | ||
#include <qparallelanimationgroup.h> | ||||
#include <qpauseanimation.h> | ||||
#include <qprocess.h> | ||||
#include <qpropertyanimation.h> | ||||
florianlink
|
r99 | #include <qreadwritelock.h> | ||
#include <qrunnable.h> | ||||
florianlink
|
r110 | #include <qsemaphore.h> | ||
#include <qsequentialanimationgroup.h> | ||||
#include <qsettings.h> | ||||
florianlink
|
r99 | #include <qsignalmapper.h> | ||
florianlink
|
r110 | #include <qsignaltransition.h> | ||
florianlink
|
r99 | #include <qsocketnotifier.h> | ||
florianlink
|
r110 | #include <qstate.h> | ||
#include <qstatemachine.h> | ||||
florianlink
|
r99 | #include <qstringlist.h> | ||
#include <qstringmatcher.h> | ||||
#include <qsystemsemaphore.h> | ||||
#include <qtemporaryfile.h> | ||||
#include <qtextboundaryfinder.h> | ||||
#include <qtextcodec.h> | ||||
#include <qtextstream.h> | ||||
#include <qthreadpool.h> | ||||
#include <qtimeline.h> | ||||
florianlink
|
r128 | #include <qtimer.h> | ||
florianlink
|
r99 | #include <qvector.h> | ||
florianlink
|
r110 | QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) | ||
{ | ||||
return new QMutex(mode); } | ||||
florianlink
|
r128 | void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->lock()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tryLock()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tryLock(timeout)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->unlock()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QObject::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); | ||
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 | QObject::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtShell_QObject::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; | ||||
} | ||||
} | ||||
QObject::customEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QObject::event(QEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QObject::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QObject::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QObject::timerEvent(arg__1); | ||||
} | ||||
florianlink
|
r110 | QObject* PythonQtWrapper_QObject::new_QObject(QObject* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QObject(parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QObject::blockSignals(QObject* theWrappedObject, bool b) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->blockSignals(b)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | const QList<QObject* >* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( theWrappedObject->children()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->dumpObjectInfo()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->dumpObjectTree()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QList<QByteArray > PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->dynamicPropertyNames()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_event(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QObject::eventFilter(QObject* theWrappedObject, QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QObject::installEventFilter(QObject* theWrappedObject, QObject* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->installEventFilter(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isWidgetType()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->killTimer(id)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->moveToThread(thread)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->objectName()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QObject* PythonQtWrapper_QObject::parent(QObject* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->parent()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QObject::property(QObject* theWrappedObject, const char* name) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->property(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::removeEventFilter(QObject* theWrappedObject, QObject* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeEventFilter(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setObjectName(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::setParent(QObject* theWrappedObject, QObject* arg__1) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setParent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QObject::setProperty(QObject* theWrappedObject, const char* name, const QVariant& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->setProperty(name, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->signalsBlocked()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->startTimer(interval)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->thread()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1) | ||
florianlink
|
r117 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(arg__1)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
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 | QParallelAnimationGroup::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QParallelAnimationGroup::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); | ||
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); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QParallelAnimationGroup::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | int PythonQtShell_QParallelAnimationGroup::duration() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | 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
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r120 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | return QParallelAnimationGroup::duration(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&event}; | ||||
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("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | return QParallelAnimationGroup::event(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r120 | bool returnValue; | ||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
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("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | return QParallelAnimationGroup::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QParallelAnimationGroup::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "int"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)¤tTime}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QParallelAnimationGroup::updateCurrentTime(currentTime); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&direction}; | ||
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 | QParallelAnimationGroup::updateDirection(direction); | ||
} | ||||
void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QParallelAnimationGroup::updateState(newState, oldState); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QParallelAnimationGroup(parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QParallelAnimationGroup::duration(QParallelAnimationGroup* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_duration()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QParallelAnimationGroup::event(QParallelAnimationGroup* theWrappedObject, QEvent* event) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_event(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtWrapper_QParallelAnimationGroup::updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(currentTime)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QParallelAnimationGroup::updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QParallelAnimationGroup::updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QChildEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QPauseAnimation::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QPauseAnimation::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; | ||||
} | ||||
} | ||||
QPauseAnimation::customEvent(arg__1); | ||||
} | ||||
florianlink
|
r110 | int PythonQtShell_QPauseAnimation::duration() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"int"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r110 | int returnValue; | ||
florianlink
|
r99 | 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) { | ||||
florianlink
|
r110 | PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((int*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QPauseAnimation::duration(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtShell_QPauseAnimation::event(QEvent* e) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QEvent*"}; | ||||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r110 | void* args[2] = {NULL, (void*)&e}; | ||
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("event", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QPauseAnimation::event(e); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | bool PythonQtShell_QPauseAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | 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
|
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("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | return QPauseAnimation::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QPauseAnimation::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "int"}; | ||
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 | QPauseAnimation::updateCurrentTime(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&direction}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QPauseAnimation::updateDirection(direction); | ||
} | ||||
void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QPauseAnimation::updateState(newState, oldState); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QPauseAnimation(parent); } | ||||
QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QPauseAnimation(msecs, parent); } | ||||
int PythonQtWrapper_QPauseAnimation::duration(QPauseAnimation* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_duration()); | ||||
} | ||||
bool PythonQtWrapper_QPauseAnimation::event(QPauseAnimation* theWrappedObject, QEvent* e) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_event(e)); | ||||
} | ||||
void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) | ||||
{ | ||||
( theWrappedObject->setDuration(msecs)); | ||||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QPauseAnimation::updateCurrentTime(QPauseAnimation* theWrappedObject, int arg__1) | ||
{ | ||||
( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r128 | bool PythonQtShell_QProcess::atEnd() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r99 | bool 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
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::atEnd(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QProcess::bytesAvailable() const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | qint64 returnValue; | ||
florianlink
|
r120 | 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) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::bytesAvailable(); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QProcess::bytesToWrite() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"qint64"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
qint64 returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::bytesToWrite(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QProcess::canReadLine() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r128 | void* args[1] = {NULL}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::canReadLine(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QProcess::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); | ||||
florianlink
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QProcess::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QProcess::close() | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={""}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QProcess::close(); | ||||
} | ||||
void PythonQtShell_QProcess::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; | ||||
} | ||||
} | ||||
QProcess::customEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QProcess::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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r99 | 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
|
r110 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QProcess::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); | ||||
florianlink
|
r110 | 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 { | ||
florianlink
|
r110 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QProcess::isSequential() const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
bool returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::isSequential(); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&mode}; | ||
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("open", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::open(mode); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QProcess::pos() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r110 | qint64 returnValue; | ||
florianlink
|
r120 | void* args[1] = {NULL}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::pos(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QProcess::readData(char* data, qint64 maxlen) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
qint64 returnValue; | ||||
florianlink
|
r128 | void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; | ||
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("readData", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::readData(data, maxlen); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QProcess::readLineData(char* data, qint64 maxlen) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r110 | qint64 returnValue; | ||
florianlink
|
r128 | void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; | ||
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("readLineData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QProcess::readLineData(data, maxlen); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QProcess::reset() | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[1] = {NULL}; | ||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r120 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::reset(); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | bool PythonQtShell_QProcess::seek(qint64 pos) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "qint64"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&pos}; | ||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r120 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::seek(pos); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | void PythonQtShell_QProcess::setupChildProcess() | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupChildProcess"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={""}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QProcess::setupChildProcess(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | qint64 PythonQtShell_QProcess::size() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
qint64 returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r120 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | return QProcess::size(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QProcess::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); | ||
florianlink
|
r120 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QProcess::timerEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QProcess::waitForBytesWritten(int msecs) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "int"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&msecs}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r99 | 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("waitForBytesWritten", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::waitForBytesWritten(msecs); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QProcess::waitForReadyRead(int msecs) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&msecs}; | ||
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("waitForReadyRead", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r120 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QProcess::waitForReadyRead(msecs); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QProcess::writeData(const char* data, qint64 len) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
qint64 returnValue; | ||||
void* args[3] = {NULL, (void*)&data, (void*)&len}; | ||||
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("writeData", methodInfo, result); | ||||
} else { | ||||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return QProcess::writeData(data, len); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QProcess(parent); } | ||||
bool PythonQtWrapper_QProcess::atEnd(QProcess* theWrappedObject) const | ||||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_atEnd()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtWrapper_QProcess::bytesAvailable(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesAvailable()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtWrapper_QProcess::bytesToWrite(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesToWrite()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::canReadLine(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_canReadLine()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::close(QProcess* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_close()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->closeReadChannel(channel)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->closeWriteChannel()); | ||
florianlink
|
r120 | } | ||
QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->environment()); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->error()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return (QProcess::execute(program)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QProcess::execute(program, arguments)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->exitCode()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->exitStatus()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::isSequential(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_isSequential()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->processChannelMode()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->processEnvironment()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->readAllStandardError()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->readAllStandardOutput()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->readChannel()); | ||
} | ||||
qint64 PythonQtWrapper_QProcess::readData(QProcess* theWrappedObject, char* data, qint64 maxlen) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_readData(data, maxlen)); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->setEnvironment(environment)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setProcessChannelMode(mode)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setProcessEnvironment(environment)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setReadChannel(channel)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setStandardErrorFile(fileName, mode)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setStandardInputFile(fileName)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( theWrappedObject->setStandardOutputFile(fileName, mode)); | ||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setStandardOutputProcess(destination)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setWorkingDirectory(dir)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, QIODevice::OpenMode mode) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->start(program, mode)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->start(program, arguments, mode)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QProcess::startDetached(program)); | ||
florianlink
|
r110 | } | ||
bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) | ||||
{ | ||||
return (QProcess::startDetached(program, arguments)); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QProcess::startDetached(program, arguments, workingDirectory, pid)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->state()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QProcess::systemEnvironment()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::waitForBytesWritten(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->waitForFinished(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::waitForReadyRead(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForReadyRead(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->waitForStarted(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->workingDirectory()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | qint64 PythonQtWrapper_QProcess::writeData(QProcess* theWrappedObject, const char* data, qint64 len) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_writeData(data, len)); | ||
florianlink
|
r110 | } | ||
QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment() | ||||
{ | ||||
return new QProcessEnvironment(); } | ||||
QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment(const QProcessEnvironment& other) | ||||
{ | ||||
return new QProcessEnvironment(other); } | ||||
florianlink
|
r128 | void PythonQtWrapper_QProcessEnvironment::clear(QProcessEnvironment* theWrappedObject) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->clear()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcessEnvironment::contains(QProcessEnvironment* theWrappedObject, const QString& name) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->contains(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->insert(name, value)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isEmpty()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcessEnvironment::__ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( (*theWrappedObject)!= other); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject)= other); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QProcessEnvironment::__eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( (*theWrappedObject)== other); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QProcessEnvironment::remove(QProcessEnvironment* theWrappedObject, const QString& name) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->remove(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QProcessEnvironment PythonQtWrapper_QProcessEnvironment::static_QProcessEnvironment_systemEnvironment() | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return (QProcessEnvironment::systemEnvironment()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->toStringList()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->value(name, defaultValue)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r128 | void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QPropertyAnimation::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPropertyAnimation::customEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QPropertyAnimation::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QPropertyAnimation::duration() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); | ||||
} else { | ||||
returnValue = *((int*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QPropertyAnimation::duration(); | ||||
} | ||||
bool PythonQtShell_QPropertyAnimation::event(QEvent* event) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
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*)&event}; | ||||
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("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 QPropertyAnimation::event(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QPropertyAnimation::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
|
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 QPropertyAnimation::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from, const QVariant& to, qreal progress) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "interpolated"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
QVariant returnValue; | ||||
void* args[4] = {NULL, (void*)&from, (void*)&to, (void*)&progress}; | ||||
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("interpolated", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r110 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QPropertyAnimation::interpolated(from, to, progress); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPropertyAnimation::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); | ||
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); | ||||
florianlink
|
r110 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | QPropertyAnimation::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "int"}; | ||
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 | QPropertyAnimation::updateCurrentTime(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentValue"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "const QVariant&"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&value}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QPropertyAnimation::updateCurrentValue(value); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&direction}; | ||
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 | QPropertyAnimation::updateDirection(direction); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QPropertyAnimation::updateState(newState, oldState); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QPropertyAnimation(parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QPropertyAnimation::event(QPropertyAnimation* theWrappedObject, QEvent* event) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_event(event)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r110 | QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->propertyName()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setPropertyName(propertyName)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setTargetObject(target)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->targetObject()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QPropertyAnimation::updateCurrentValue(QPropertyAnimation* theWrappedObject, const QVariant& value) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_updateCurrentValue(value)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QPropertyAnimation::updateState(QPropertyAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_updateState(newState, oldState)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock() | ||
{ | ||||
return new QReadWriteLock(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) | ||
{ | ||||
return new QReadWriteLock(recursionMode); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->lockForRead()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->lockForWrite()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tryLockForRead()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->tryLockForRead(timeout)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tryLockForWrite()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->tryLockForWrite(timeout)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->unlock()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | void PythonQtShell_QRunnable::run() | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "run"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={""}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() | ||
{ | ||||
return new PythonQtShell_QRunnable(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->autoDelete()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAutoDelete(_autoDelete)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) | ||
{ | ||||
return new QSemaphore(n); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->acquire(n)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->available()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->release(n)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tryAcquire(n)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tryAcquire(n, timeout)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QChildEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QSequentialAnimationGroup::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QSequentialAnimationGroup::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; | ||||
} | ||||
} | ||||
QSequentialAnimationGroup::customEvent(arg__1); | ||||
} | ||||
florianlink
|
r110 | int PythonQtShell_QSequentialAnimationGroup::duration() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
int returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); | ||||
} else { | ||||
returnValue = *((int*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QSequentialAnimationGroup::duration(); | ||||
} | ||||
bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event) | ||||
{ | ||||
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*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
florianlink
|
r99 | args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r110 | return QSequentialAnimationGroup::event(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | bool PythonQtShell_QSequentialAnimationGroup::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*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r120 | 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 QSequentialAnimationGroup::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QSequentialAnimationGroup::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "int"}; | ||
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 | QSequentialAnimationGroup::updateCurrentTime(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&direction}; | ||
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 | QSequentialAnimationGroup::updateDirection(direction); | ||
} | ||||
void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QSequentialAnimationGroup::updateState(newState, oldState); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QSequentialAnimationGroup(parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) | ||
{ | ||||
return ( theWrappedObject->addPause(msecs)); | ||||
} | ||||
florianlink
|
r110 | QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->currentAnimation()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | int PythonQtWrapper_QSequentialAnimationGroup::duration(QSequentialAnimationGroup* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_duration()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QSequentialAnimationGroup::event(QSequentialAnimationGroup* theWrappedObject, QEvent* event) | ||
{ | ||||
return ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_event(event)); | ||||
} | ||||
QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) | ||||
{ | ||||
return ( theWrappedObject->insertPause(index, msecs)); | ||||
} | ||||
florianlink
|
r117 | void PythonQtWrapper_QSequentialAnimationGroup::updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1) | ||
{ | ||||
( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); | ||||
} | ||||
florianlink
|
r110 | void PythonQtWrapper_QSequentialAnimationGroup::updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QSequentialAnimationGroup::updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
{ | ||||
( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | |||
void PythonQtShell_QSettings::childEvent(QChildEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r128 | if (_wrapper) { | ||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QChildEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSettings::childEvent(arg__1); | ||
} | ||||
void PythonQtShell_QSettings::customEvent(QEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r128 | 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; | ||||
} | ||||
} | ||||
QSettings::customEvent(arg__1); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtShell_QSettings::event(QEvent* event) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r110 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r110 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r99 | void* args[2] = {NULL, (void*)&event}; | ||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r110 | PythonQt::priv()->handleVirtualOverloadReturnError("event", 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 QSettings::event(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | 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
|
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("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r120 | return QSettings::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtShell_QSettings::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 | QSettings::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QSettings* PythonQtWrapper_QSettings::new_QSettings(QObject* parent) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new PythonQtShell_QSettings(parent); } | ||
florianlink
|
r99 | |||
florianlink
|
r110 | QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) | ||
{ | ||||
return new PythonQtShell_QSettings(format, scope, organization, application, parent); } | ||||
QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSettings(scope, organization, application, parent); } | ||||
QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSettings(fileName, format, parent); } | ||||
QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& organization, const QString& application, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSettings(organization, application, parent); } | ||||
florianlink
|
r128 | QStringList PythonQtWrapper_QSettings::allKeys(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->allKeys()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->applicationName()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->beginGroup(prefix)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->beginReadArray(prefix)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->beginWriteArray(prefix, size)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( theWrappedObject->childGroups()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( theWrappedObject->childKeys()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->clear()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->contains(key)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QSettings::defaultFormat()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->endArray()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->endGroup()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QSettings::event(QSettings* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QSettings*)theWrappedObject)->promoted_event(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fallbacksEnabled()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fileName()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->format()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->group()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QSettings::iniCodec(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->iniCodec()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isWritable()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->organizationName()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->remove(key)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->scope()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setArrayIndex(i)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | (QSettings::setDefaultFormat(format)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFallbacksEnabled(b)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setIniCodec(codec)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setIniCodec(codecName)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | (QSettings::setPath(format, scope, path)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setValue(key, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->status()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->sync()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->value(key, defaultValue)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QChildEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QSignalMapper::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QSignalMapper::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; | ||||
} | ||||
} | ||||
QSignalMapper::customEvent(arg__1); | ||||
} | ||||
florianlink
|
r120 | bool PythonQtShell_QSignalMapper::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 QSignalMapper::event(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r120 | bool PythonQtShell_QSignalMapper::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 QSignalMapper::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QSignalMapper::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 | QSignalMapper::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QSignalMapper* PythonQtWrapper_QSignalMapper::new_QSignalMapper(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSignalMapper(parent); } | ||||
florianlink
|
r128 | QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->mapping(object)); | ||
florianlink
|
r110 | } | ||
QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const | ||||
{ | ||||
return ( theWrappedObject->mapping(text)); | ||||
} | ||||
florianlink
|
r128 | QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->mapping(id)); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) | ||||
{ | ||||
( theWrappedObject->removeMappings(sender)); | ||||
} | ||||
florianlink
|
r120 | void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->setMapping(sender, object)); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) | ||||
{ | ||||
( theWrappedObject->setMapping(sender, text)); | ||||
} | ||||
florianlink
|
r120 | void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) | ||
{ | ||||
( theWrappedObject->setMapping(sender, id)); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r128 | void PythonQtShell_QSignalTransition::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
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); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r128 | QSignalTransition::childEvent(arg__1); | ||
} | ||||
void PythonQtShell_QSignalTransition::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; | ||||
} | ||||
} | ||||
QSignalTransition::customEvent(arg__1); | ||||
florianlink
|
r120 | } | ||
florianlink
|
r110 | bool PythonQtShell_QSignalTransition::event(QEvent* e) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QSignalTransition::event(e); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtShell_QSignalTransition::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 QSignalTransition::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
bool PythonQtShell_QSignalTransition::eventTest(QEvent* event) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventTest"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QSignalTransition::eventTest(event); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QSignalTransition::onTransition(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onTransition"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QEvent*"}; | ||||
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 | QSignalTransition::onTransition(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QSignalTransition::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 | QSignalTransition::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QObject* sender, const char* signal, QState* sourceState) | ||||
{ | ||||
return new PythonQtShell_QSignalTransition(sender, signal, sourceState); } | ||||
QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QState* sourceState) | ||||
{ | ||||
return new PythonQtShell_QSignalTransition(sourceState); } | ||||
bool PythonQtWrapper_QSignalTransition::event(QSignalTransition* theWrappedObject, QEvent* e) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_event(e)); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtWrapper_QSignalTransition::eventTest(QSignalTransition* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_eventTest(event)); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QSignalTransition::onTransition(QSignalTransition* theWrappedObject, QEvent* event) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_onTransition(event)); | ||||
} | ||||
QObject* PythonQtWrapper_QSignalTransition::senderObject(QSignalTransition* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->senderObject()); | ||||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QSignalTransition::setSenderObject(QSignalTransition* theWrappedObject, QObject* sender) | ||
{ | ||||
( theWrappedObject->setSenderObject(sender)); | ||||
} | ||||
florianlink
|
r110 | void PythonQtWrapper_QSignalTransition::setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal) | ||
{ | ||||
( theWrappedObject->setSignal(signal)); | ||||
} | ||||
florianlink
|
r128 | QByteArray PythonQtWrapper_QSignalTransition::signal(QSignalTransition* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->signal()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QSocketNotifier::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 | QSocketNotifier::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QSocketNotifier::customEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
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 | QSocketNotifier::customEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QSocketNotifier::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
|
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 QSocketNotifier::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QSocketNotifier::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 QSocketNotifier::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QSocketNotifier::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 | QSocketNotifier::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } | ||||
bool PythonQtWrapper_QSocketNotifier::event(QSocketNotifier* theWrappedObject, QEvent* arg__1) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->promoted_event(arg__1)); | ||||
} | ||||
bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->isEnabled()); | ||||
} | ||||
florianlink
|
r128 | int PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->socket()); | ||||
} | ||||
florianlink
|
r110 | QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->type()); | ||||
} | ||||
florianlink
|
r128 | void PythonQtShell_QState::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); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QState::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QState::customEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QEvent*"}; | ||||
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 | QState::customEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QState::event(QEvent* e) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
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
|
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 QState::event(e); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | bool PythonQtShell_QState::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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r120 | return QState::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QState::onEntry(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); | ||
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 | QState::onEntry(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QState::onExit(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QEvent*"}; | ||||
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 | QState::onExit(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QState::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 | QState::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QState* PythonQtWrapper_QState::new_QState(QState* parent) | ||||
{ | ||||
return new PythonQtShell_QState(parent); } | ||||
QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) | ||||
{ | ||||
return new PythonQtShell_QState(childMode, parent); } | ||||
florianlink
|
r128 | QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QAbstractState* target) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->addTransition(target)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QAbstractTransition* transition) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->addTransition(transition)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QObject* sender, const char* signal, QAbstractState* target) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->addTransition(sender, signal, target)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->assignProperty(object, name, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->childMode()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->errorState()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QState::event(QState* theWrappedObject, QEvent* e) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_event(e)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->initialState()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::onEntry(QState* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_onEntry(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::onExit(QState* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_onExit(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, QAbstractTransition* transition) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeTransition(transition)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setChildMode(mode)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setErrorState(state)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setInitialState(state)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginMicrostep"); | ||
florianlink
|
r120 | 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*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStateMachine::beginMicrostep(event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginSelectTransitions"); | ||
florianlink
|
r110 | 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*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStateMachine::beginSelectTransitions(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::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); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r128 | QStateMachine::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::customEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QEvent*"}; | ||||
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 | QStateMachine::customEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::endMicrostep(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endMicrostep"); | ||
florianlink
|
r110 | 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*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStateMachine::endMicrostep(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endSelectTransitions"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QStateMachine::endSelectTransitions(event); | ||||
} | ||||
bool PythonQtShell_QStateMachine::event(QEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&e}; | ||
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 { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QStateMachine::event(e); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QStateMachine::eventFilter(QObject* watched, QEvent* event) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r120 | 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*)&watched, (void*)&event}; | ||||
florianlink
|
r120 | 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
|
r120 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r128 | return QStateMachine::eventFilter(watched, event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::onEntry(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); | ||
florianlink
|
r110 | 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*)&event}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QStateMachine::onEntry(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QStateMachine::onExit(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | 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 | QStateMachine::onExit(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtShell_QStateMachine::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*"}; | ||
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 | QStateMachine::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QStateMachine(parent); } | ||||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->addDefaultAnimation(animation)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->addState(state)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->cancelDelayedEvent(id)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->clearError()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QSet<QAbstractState* > PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->configuration()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QList<QAbstractAnimation* > PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->defaultAnimations()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); | ||
florianlink
|
r110 | } | ||
QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->error()); | ||||
} | ||||
florianlink
|
r128 | QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->errorString()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStateMachine::event(QStateMachine* theWrappedObject, QEvent* e) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_event(e)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStateMachine::eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_eventFilter(watched, event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QStateMachine::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->globalRestorePolicy()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isAnimated()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isRunning()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::onEntry(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_onEntry(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::onExit(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_onExit(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->postDelayedEvent(event, delay)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->postEvent(event, priority)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | ( theWrappedObject->removeDefaultAnimation(animation)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->removeState(state)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAnimated(enabled)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QStateMachine::RestorePolicy restorePolicy) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); | ||
florianlink
|
r110 | } | ||
QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine_SignalEvent::new_QStateMachine_SignalEvent(QObject* sender, int signalIndex, const QList<QVariant >& arguments) | ||||
{ | ||||
return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } | ||||
florianlink
|
r128 | QList<QVariant > PythonQtWrapper_QStateMachine_SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->arguments()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QObject* PythonQtWrapper_QStateMachine_SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->sender()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | int PythonQtWrapper_QStateMachine_SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( theWrappedObject->signalIndex()); | ||
florianlink
|
r110 | } | ||
QStateMachine::WrappedEvent* PythonQtWrapper_QStateMachine_WrappedEvent::new_QStateMachine_WrappedEvent(QObject* object, QEvent* event) | ||||
{ | ||||
return new QStateMachine::WrappedEvent(object, event); } | ||||
florianlink
|
r128 | QEvent* PythonQtWrapper_QStateMachine_WrappedEvent::event(QStateMachine::WrappedEvent* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->event()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | QObject* PythonQtWrapper_QStateMachine_WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->object()); | ||
florianlink
|
r110 | } | ||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher() | ||||
{ | ||||
return new QStringMatcher(); } | ||||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs) | ||||
{ | ||||
return new QStringMatcher(pattern, cs); } | ||||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QStringMatcher& other) | ||||
{ | ||||
return new QStringMatcher(other); } | ||||
florianlink
|
r128 | Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->caseSensitivity()); | ||
florianlink
|
r110 | } | ||
int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const | ||||
{ | ||||
return ( theWrappedObject->indexIn(str, from)); | ||||
} | ||||
florianlink
|
r128 | QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pattern()); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) | ||||
{ | ||||
( theWrappedObject->setCaseSensitivity(cs)); | ||||
} | ||||
florianlink
|
r128 | void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) | ||
{ | ||||
( theWrappedObject->setPattern(pattern)); | ||||
} | ||||
florianlink
|
r110 | |||
QSystemSemaphore* PythonQtWrapper_QSystemSemaphore::new_QSystemSemaphore(const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) | ||||
{ | ||||
return new QSystemSemaphore(key, initialValue, mode); } | ||||
florianlink
|
r128 | bool PythonQtWrapper_QSystemSemaphore::acquire(QSystemSemaphore* theWrappedObject) | ||
{ | ||||
return ( theWrappedObject->acquire()); | ||||
} | ||||
florianlink
|
r110 | QSystemSemaphore::SystemSemaphoreError PythonQtWrapper_QSystemSemaphore::error(QSystemSemaphore* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->error()); | ||||
} | ||||
QString PythonQtWrapper_QSystemSemaphore::errorString(QSystemSemaphore* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->errorString()); | ||||
} | ||||
QString PythonQtWrapper_QSystemSemaphore::key(QSystemSemaphore* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->key()); | ||||
} | ||||
bool PythonQtWrapper_QSystemSemaphore::release(QSystemSemaphore* theWrappedObject, int n) | ||||
{ | ||||
return ( theWrappedObject->release(n)); | ||||
} | ||||
void PythonQtWrapper_QSystemSemaphore::setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) | ||||
{ | ||||
( theWrappedObject->setKey(key, initialValue, mode)); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtShell_QTemporaryFile::atEnd() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
florianlink
|
r110 | 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) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", 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 QTemporaryFile::atEnd(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
qint64 returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::bytesAvailable(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
qint64 returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::bytesToWrite(); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | bool PythonQtShell_QTemporaryFile::canReadLine() const | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
bool returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::canReadLine(); | ||
} | ||||
void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QChildEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTemporaryFile::childEvent(arg__1); | ||||
florianlink
|
r117 | } | ||
florianlink
|
r120 | void PythonQtShell_QTemporaryFile::close() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={""}; | ||
florianlink
|
r110 | 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); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r120 | QTemporaryFile::close(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | void PythonQtShell_QTemporaryFile::customEvent(QEvent* arg__1) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r117 | 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; | ||||
} | ||||
} | ||||
QTemporaryFile::customEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QTemporaryFile::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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTemporaryFile::event(arg__1); | ||||
} | ||||
bool PythonQtShell_QTemporaryFile::eventFilter(QObject* arg__1, QEvent* arg__2) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||||
florianlink
|
r117 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r117 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r117 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::eventFilter(arg__1, arg__2); | ||
florianlink
|
r117 | } | ||
florianlink
|
r128 | QAbstractFileEngine* PythonQtShell_QTemporaryFile::fileEngine() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fileEngine"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QAbstractFileEngine*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | QAbstractFileEngine* returnValue; | ||
florianlink
|
r120 | void* args[1] = {NULL}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("fileEngine", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((QAbstractFileEngine**)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::fileEngine(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | bool PythonQtShell_QTemporaryFile::isSequential() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r117 | bool returnValue; | ||
florianlink
|
r120 | void* args[1] = {NULL}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r117 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r120 | return QTemporaryFile::isSequential(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&flags}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("open", 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 QTemporaryFile::open(flags); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | qint64 PythonQtShell_QTemporaryFile::pos() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"qint64"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
qint64 returnValue; | ||||
florianlink
|
r120 | void* args[1] = {NULL}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r120 | return QTemporaryFile::pos(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QTemporaryFile::readData(char* data, qint64 maxlen) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r117 | qint64 returnValue; | ||
florianlink
|
r128 | void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; | ||
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("readData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r117 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::readData(data, maxlen); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QTemporaryFile::readLineData(char* data, qint64 maxlen) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r110 | qint64 returnValue; | ||
florianlink
|
r128 | void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; | ||
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("readLineData", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::readLineData(data, maxlen); | ||
florianlink
|
r110 | } | ||
bool PythonQtShell_QTemporaryFile::reset() | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
bool returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTemporaryFile::reset(); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtShell_QTemporaryFile::seek(qint64 offset) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "qint64"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&offset}; | ||
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("seek", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | return QTemporaryFile::seek(offset); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QTemporaryFile::size() const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | qint64 returnValue; | ||
florianlink
|
r110 | 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) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | return QTemporaryFile::size(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QTemporaryFile::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*"}; | ||
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 | QTemporaryFile::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"bool" , "int"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&msecs}; | ||||
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("waitForBytesWritten", 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 QTemporaryFile::waitForBytesWritten(msecs); | ||
florianlink
|
r110 | } | ||
florianlink
|
r128 | bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"bool" , "int"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&msecs}; | ||
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("waitForReadyRead", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::waitForReadyRead(msecs); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtShell_QTemporaryFile::writeData(const char* data, qint64 len) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r128 | qint64 returnValue; | ||
void* args[3] = {NULL, (void*)&data, (void*)&len}; | ||||
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("writeData", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTemporaryFile::writeData(data, len); | ||
florianlink
|
r120 | } | ||
QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile() | ||||
{ | ||||
return new PythonQtShell_QTemporaryFile(); } | ||||
QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QTemporaryFile(parent); } | ||||
QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName) | ||||
{ | ||||
return new PythonQtShell_QTemporaryFile(templateName); } | ||||
QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QTemporaryFile(templateName, parent); } | ||||
florianlink
|
r128 | bool PythonQtWrapper_QTemporaryFile::autoRemove(QTemporaryFile* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->autoRemove()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(QFile& file) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return (QTemporaryFile::createLocalFile(file)); | ||
} | ||||
QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(const QString& fileName) | ||||
{ | ||||
return (QTemporaryFile::createLocalFile(fileName)); | ||||
florianlink
|
r120 | } | ||
QAbstractFileEngine* PythonQtWrapper_QTemporaryFile::fileEngine(QTemporaryFile* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->promoted_fileEngine()); | ||||
} | ||||
QString PythonQtWrapper_QTemporaryFile::fileName(QTemporaryFile* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->fileName()); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QTemporaryFile::fileTemplate(QTemporaryFile* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fileTemplate()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->open()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject, QIODevice::OpenMode flags) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( ((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->promoted_open(flags)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTemporaryFile::setAutoRemove(QTemporaryFile* theWrappedObject, bool b) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAutoRemove(b)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTemporaryFile::setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFileTemplate(name)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder() | ||
{ | ||||
return new QTextBoundaryFinder(); } | ||||
QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string) | ||||
{ | ||||
return new QTextBoundaryFinder(type, string); } | ||||
QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(const QTextBoundaryFinder& other) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new QTextBoundaryFinder(other); } | ||
florianlink
|
r128 | QTextBoundaryFinder::BoundaryReasons PythonQtWrapper_QTextBoundaryFinder::boundaryReasons(QTextBoundaryFinder* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->boundaryReasons()); | ||
florianlink
|
r110 | } | ||
bool PythonQtWrapper_QTextBoundaryFinder::isAtBoundary(QTextBoundaryFinder* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->isAtBoundary()); | ||||
} | ||||
florianlink
|
r128 | bool PythonQtWrapper_QTextBoundaryFinder::isValid(QTextBoundaryFinder* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isValid()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | int PythonQtWrapper_QTextBoundaryFinder::position(QTextBoundaryFinder* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r120 | return ( theWrappedObject->position()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QTextBoundaryFinder::setPosition(QTextBoundaryFinder* theWrappedObject, int position) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->setPosition(position)); | ||
} | ||||
florianlink
|
r128 | QString PythonQtWrapper_QTextBoundaryFinder::string(QTextBoundaryFinder* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->string()); | ||
florianlink
|
r110 | } | ||
void PythonQtWrapper_QTextBoundaryFinder::toEnd(QTextBoundaryFinder* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->toEnd()); | ||||
} | ||||
florianlink
|
r128 | int PythonQtWrapper_QTextBoundaryFinder::toNextBoundary(QTextBoundaryFinder* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r128 | return ( theWrappedObject->toNextBoundary()); | ||
florianlink
|
r110 | } | ||
int PythonQtWrapper_QTextBoundaryFinder::toPreviousBoundary(QTextBoundaryFinder* theWrappedObject) | ||||
{ | ||||
return ( theWrappedObject->toPreviousBoundary()); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextBoundaryFinder::toStart(QTextBoundaryFinder* theWrappedObject) | ||
{ | ||||
( theWrappedObject->toStart()); | ||||
} | ||||
QTextBoundaryFinder::BoundaryType PythonQtWrapper_QTextBoundaryFinder::type(QTextBoundaryFinder* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->type()); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | QList<QByteArray > PythonQtShell_QTextCodec::aliases() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "aliases"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QList<QByteArray >"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | QList<QByteArray > returnValue; | ||
florianlink
|
r120 | void* args[1] = {NULL}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QList<QByteArray >*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QTextCodec::aliases(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r120 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "convertFromUnicode"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r120 | static const char* argumentList[] ={"QByteArray" , "const QChar*" , "int" , "QTextCodec::ConverterState*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
QByteArray returnValue; | ||||
void* args[4] = {NULL, (void*)&in, (void*)&length, (void*)&state}; | ||||
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
|
r120 | PythonQt::priv()->handleVirtualOverloadReturnError("convertFromUnicode", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r120 | returnValue = *((QByteArray*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r120 | return QByteArray(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtShell_QTextCodec::convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "convertToUnicode"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QString" , "const char*" , "int" , "QTextCodec::ConverterState*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); | ||||
QString returnValue; | ||||
void* args[4] = {NULL, (void*)&in, (void*)&length, (void*)&state}; | ||||
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("convertToUnicode", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QString*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QString(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtShell_QTextCodec::mibEnum() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mibEnum"); | ||
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
|
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("mibEnum", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r128 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r128 | return int(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QByteArray PythonQtShell_QTextCodec::name() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"QByteArray"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r128 | QByteArray 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
|
r128 | PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r128 | returnValue = *((QByteArray*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r128 | return QByteArray(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QList<QByteArray > PythonQtWrapper_QTextCodec::aliases(QTextCodec* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_aliases()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QList<QByteArray > PythonQtWrapper_QTextCodec::static_QTextCodec_availableCodecs() | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::availableCodecs()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QList<int > PythonQtWrapper_QTextCodec::static_QTextCodec_availableMibs() | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::availableMibs()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, QChar arg__1) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->canEncode(arg__1)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->canEncode(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForCStrings() | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::codecForCStrings()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::codecForHtml(ba)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::codecForHtml(ba, defaultCodec)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForLocale() | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return (QTextCodec::codecForLocale()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForMib(int mib) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::codecForMib(mib)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const QByteArray& name) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::codecForName(name)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const char* name) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return (QTextCodec::codecForName(name)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return (QTextCodec::codecForUtfText(ba)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba, QTextCodec* defaultCodec) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return (QTextCodec::codecForUtfText(ba, defaultCodec)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QByteArray PythonQtWrapper_QTextCodec::fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fromUnicode(uc)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextDecoder* PythonQtWrapper_QTextCodec::makeDecoder(QTextCodec* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->makeDecoder()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextEncoder* PythonQtWrapper_QTextCodec::makeEncoder(QTextCodec* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->makeEncoder()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForCStrings(QTextCodec* c) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QTextCodec::setCodecForCStrings(c)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForLocale(QTextCodec* c) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QTextCodec::setCodecForLocale(c)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForTr(QTextCodec* c) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QTextCodec::setCodecForTr(c)); | ||
} | ||||
QString PythonQtWrapper_QTextCodec::toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const | ||||
{ | ||||
return ( theWrappedObject->toUnicode(arg__1)); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return new QTextDecoder(codec); } | ||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->hasFailure()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QTextDecoder::toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->toUnicode(ba)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec) | ||
{ | ||||
return new QTextEncoder(codec); } | ||||
florianlink
|
r99 | |||
florianlink
|
r120 | QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( theWrappedObject->fromUnicode(str)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | bool PythonQtWrapper_QTextEncoder::hasFailure(QTextEncoder* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( theWrappedObject->hasFailure()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QTextStream* PythonQtWrapper_QTextStream::new_QTextStream() | ||
{ | ||||
return new PythonQtShell_QTextStream(); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(QIODevice* device) | ||
{ | ||||
return new PythonQtShell_QTextStream(device); } | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode) | ||
{ | ||||
return new PythonQtShell_QTextStream(array, openMode); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | bool PythonQtWrapper_QTextStream::atEnd(QTextStream* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->atEnd()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTextStream::autoDetectUnicode(QTextStream* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->autoDetectUnicode()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QTextCodec* PythonQtWrapper_QTextStream::codec(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->codec()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QIODevice* PythonQtWrapper_QTextStream::device(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return ( theWrappedObject->device()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream::FieldAlignment PythonQtWrapper_QTextStream::fieldAlignment(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fieldAlignment()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTextStream::fieldWidth(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->fieldWidth()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::flush(QTextStream* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->flush()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTextStream::generateByteOrderMark(QTextStream* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->generateByteOrderMark()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTextStream::integerBase(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->integerBase()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QLocale PythonQtWrapper_QTextStream::locale(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->locale()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream::NumberFlags PythonQtWrapper_QTextStream::numberFlags(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->numberFlags()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::writeBoolean(QTextStream* theWrappedObject, QBool b) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) <<b); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::writeByte(QTextStream* theWrappedObject, char ch) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) <<ch); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::writeDouble(QTextStream* theWrappedObject, double f) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) <<f); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::writeFloat(QTextStream* theWrappedObject, float f) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) <<f); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::writeLongLong(QTextStream* theWrappedObject, qlonglong i) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) <<i); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::writeInt(QTextStream* theWrappedObject, signed int i) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) <<i); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::writeShort(QTextStream* theWrappedObject, signed short i) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) <<i); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::readByte(QTextStream* theWrappedObject, char& ch) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) >>ch); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::readDouble(QTextStream* theWrappedObject, double& f) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) >>f); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::readFloat(QTextStream* theWrappedObject, float& f) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) >>f); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::readLongLong(QTextStream* theWrappedObject, qlonglong& i) | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) >>i); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::readInt(QTextStream* theWrappedObject, signed int& i) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) >>i); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream* PythonQtWrapper_QTextStream::readShort(QTextStream* theWrappedObject, signed short& i) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return &( (*theWrappedObject) >>i); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QChar PythonQtWrapper_QTextStream::padChar(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->padChar()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qint64 PythonQtWrapper_QTextStream::pos(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->pos()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QTextStream::read(QTextStream* theWrappedObject, qint64 maxlen) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->read(maxlen)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QTextStream::readAll(QTextStream* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->readAll()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QString PythonQtWrapper_QTextStream::readLine(QTextStream* theWrappedObject, qint64 maxlen) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->readLine(maxlen)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream::RealNumberNotation PythonQtWrapper_QTextStream::realNumberNotation(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->realNumberNotation()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTextStream::realNumberPrecision(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->realNumberPrecision()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::reset(QTextStream* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->reset()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::resetStatus(QTextStream* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->resetStatus()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTextStream::seek(QTextStream* theWrappedObject, qint64 pos) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->seek(pos)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setAutoDetectUnicode(enabled)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, QTextCodec* codec) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setCodec(codec)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, const char* codecName) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setCodec(codecName)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setDevice(QTextStream* theWrappedObject, QIODevice* device) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setDevice(device)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFieldAlignment(alignment)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setFieldWidth(QTextStream* theWrappedObject, int width) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setFieldWidth(width)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setGenerateByteOrderMark(generate)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setIntegerBase(base)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setLocale(QTextStream* theWrappedObject, const QLocale& locale) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setLocale(locale)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setNumberFlags(flags)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setPadChar(ch)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setRealNumberNotation(notation)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->setRealNumberPrecision(precision)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setStatus(status)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->skipWhiteSpace()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->status()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QThreadPool::childEvent(QChildEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QChildEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QThreadPool::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QThreadPool::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; | ||||
} | ||||
} | ||||
QThreadPool::customEvent(arg__1); | ||||
} | ||||
florianlink
|
r120 | bool PythonQtShell_QThreadPool::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 QThreadPool::event(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r120 | bool PythonQtShell_QThreadPool::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r120 | return QThreadPool::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QThreadPool::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QThreadPool(parent); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->activeThreadCount()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QThreadPool::expiryTimeout(QThreadPool* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->expiryTimeout()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | QThreadPool* PythonQtWrapper_QThreadPool::static_QThreadPool_globalInstance() | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | return (QThreadPool::globalInstance()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QThreadPool::maxThreadCount(QThreadPool* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->maxThreadCount()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QThreadPool::releaseThread(QThreadPool* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->releaseThread()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QThreadPool::reserveThread(QThreadPool* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->reserveThread()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QThreadPool::setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setExpiryTimeout(expiryTimeout)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QThreadPool::setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setMaxThreadCount(maxThreadCount)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QThreadPool::start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->start(runnable, priority)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QThreadPool::tryStart(QThreadPool* theWrappedObject, QRunnable* runnable) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->tryStart(runnable)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->waitForDone()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QTimeLine::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r99 | { | ||
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
|
r99 | } | ||
florianlink
|
r128 | QTimeLine::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QTimeLine::customEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
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 | QTimeLine::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtShell_QTimeLine::event(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | 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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r110 | return QTimeLine::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | bool PythonQtShell_QTimeLine::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTimeLine::eventFilter(arg__1, arg__2); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r128 | QTimeLine::timerEvent(event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | qreal PythonQtShell_QTimeLine::valueForTime(int msec) const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r128 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueForTime"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r128 | static const char* argumentList[] ={"qreal" , "int"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | qreal returnValue; | ||
void* args[2] = {NULL, (void*)&msec}; | ||||
florianlink
|
r120 | 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("valueForTime", methodInfo, result); | ||||
} else { | ||||
returnValue = *((qreal*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r120 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r128 | return QTimeLine::valueForTime(msec); | ||
florianlink
|
r120 | } | ||
florianlink
|
r110 | QTimeLine* PythonQtWrapper_QTimeLine::new_QTimeLine(int duration, QObject* parent) | ||
{ | ||||
return new PythonQtShell_QTimeLine(duration, parent); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QTimeLine::currentFrame(QTimeLine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->currentFrame()); | ||
} | ||||
int PythonQtWrapper_QTimeLine::currentTime(QTimeLine* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->currentTime()); | ||||
} | ||||
qreal PythonQtWrapper_QTimeLine::currentValue(QTimeLine* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->currentValue()); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r120 | QTimeLine::CurveShape PythonQtWrapper_QTimeLine::curveShape(QTimeLine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( theWrappedObject->curveShape()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTimeLine::Direction PythonQtWrapper_QTimeLine::direction(QTimeLine* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->direction()); | ||||
} | ||||
int PythonQtWrapper_QTimeLine::duration(QTimeLine* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->duration()); | ||||
} | ||||
QEasingCurve PythonQtWrapper_QTimeLine::easingCurve(QTimeLine* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->easingCurve()); | ||||
} | ||||
florianlink
|
r120 | int PythonQtWrapper_QTimeLine::endFrame(QTimeLine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | return ( theWrappedObject->endFrame()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTimeLine::frameForTime(QTimeLine* theWrappedObject, int msec) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->frameForTime(msec)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTimeLine::loopCount(QTimeLine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->loopCount()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimeLine::setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setCurveShape(shape)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QTimeLine::setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->setDirection(direction)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimeLine::setDuration(QTimeLine* theWrappedObject, int duration) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setDuration(duration)); | ||
} | ||||
void PythonQtWrapper_QTimeLine::setEasingCurve(QTimeLine* theWrappedObject, const QEasingCurve& curve) | ||||
{ | ||||
( theWrappedObject->setEasingCurve(curve)); | ||||
} | ||||
void PythonQtWrapper_QTimeLine::setEndFrame(QTimeLine* theWrappedObject, int frame) | ||||
{ | ||||
( theWrappedObject->setEndFrame(frame)); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r120 | void PythonQtWrapper_QTimeLine::setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->setFrameRange(startFrame, endFrame)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimeLine::setLoopCount(QTimeLine* theWrappedObject, int count) | ||
{ | ||||
( theWrappedObject->setLoopCount(count)); | ||||
} | ||||
void PythonQtWrapper_QTimeLine::setStartFrame(QTimeLine* theWrappedObject, int frame) | ||||
{ | ||||
( theWrappedObject->setStartFrame(frame)); | ||||
} | ||||
florianlink
|
r120 | void PythonQtWrapper_QTimeLine::setUpdateInterval(QTimeLine* theWrappedObject, int interval) | ||
florianlink
|
r99 | { | ||
florianlink
|
r120 | ( theWrappedObject->setUpdateInterval(interval)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTimeLine::startFrame(QTimeLine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->startFrame()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTimeLine::State PythonQtWrapper_QTimeLine::state(QTimeLine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->state()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimeLine::timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_timerEvent(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTimeLine::updateInterval(QTimeLine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->updateInterval()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | qreal PythonQtWrapper_QTimeLine::valueForTime(QTimeLine* theWrappedObject, int msec) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_valueForTime(msec)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | |||
void PythonQtShell_QTimer::childEvent(QChildEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r128 | if (_wrapper) { | ||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QChildEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTimer::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTimer::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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r128 | QTimer::customEvent(arg__1); | ||
} | ||||
bool PythonQtShell_QTimer::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}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTimer::event(arg__1); | ||||
} | ||||
bool PythonQtShell_QTimer::eventFilter(QObject* arg__1, QEvent* arg__2) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTimer::eventFilter(arg__1, arg__2); | ||||
} | ||||
void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTimer::timerEvent(arg__1); | ||||
} | ||||
QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QTimer(parent); } | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | int PythonQtWrapper_QTimer::interval(QTimer* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->interval()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isActive()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r128 | bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->isSingleShot()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setInterval(msec)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( theWrappedObject->setSingleShot(singleShot)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, QObject* receiver, const char* member) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | (QTimer::singleShot(msec, receiver, member)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | void PythonQtWrapper_QTimer::timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | ( ((PythonQtPublicPromoter_QTimer*)theWrappedObject)->promoted_timerEvent(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r128 | int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r128 | return ( theWrappedObject->timerId()); | ||
florianlink
|
r99 | } | ||