com_trolltech_qt_core1.cpp
4703 lines
| 161.2 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
|
r186 | #include <QUrl> | ||
florianlink
|
r110 | #include <QVarLengthArray> | ||
florianlink
|
r99 | #include <QVariant> | ||
florianlink
|
r110 | #include <qabstractanimation.h> | ||
florianlink
|
r186 | #include <qabstractitemmodel.h> | ||
florianlink
|
r110 | #include <qabstractstate.h> | ||
#include <qabstracttransition.h> | ||||
#include <qanimationgroup.h> | ||||
florianlink
|
r99 | #include <qbytearray.h> | ||
#include <qcoreevent.h> | ||||
florianlink
|
r186 | #include <qdatastream.h> | ||
florianlink
|
r110 | #include <qeasingcurve.h> | ||
florianlink
|
r99 | #include <qlist.h> | ||
florianlink
|
r110 | #include <qlocale.h> | ||
florianlink
|
r186 | #include <qmetaobject.h> | ||
#include <qmimedata.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> | ||
florianlink
|
r110 | #include <qsemaphore.h> | ||
#include <qsequentialanimationgroup.h> | ||||
#include <qsettings.h> | ||||
florianlink
|
r186 | #include <qsharedmemory.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 <qtextcodec.h> | ||||
florianlink
|
r186 | #include <qurl.h> | ||
florianlink
|
r99 | #include <qvector.h> | ||
florianlink
|
r186 | QMetaClassInfo* PythonQtWrapper_QMetaClassInfo::new_QMetaClassInfo() | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return new QMetaClassInfo(); } | ||
florianlink
|
r110 | |||
florianlink
|
r186 | const QMetaObject* PythonQtWrapper_QMetaClassInfo::enclosingMetaObject(QMetaClassInfo* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->enclosingMetaObject()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | const char* PythonQtWrapper_QMetaClassInfo::name(QMetaClassInfo* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->name()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | const char* PythonQtWrapper_QMetaClassInfo::value(QMetaClassInfo* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->value()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
QMetaEnum* PythonQtWrapper_QMetaEnum::new_QMetaEnum() | ||||
{ | ||||
return new QMetaEnum(); } | ||||
const QMetaObject* PythonQtWrapper_QMetaEnum::enclosingMetaObject(QMetaEnum* theWrappedObject) const | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->enclosingMetaObject()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaEnum::isFlag(QMetaEnum* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->isFlag()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | bool PythonQtWrapper_QMetaEnum::isValid(QMetaEnum* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->isValid()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | const char* PythonQtWrapper_QMetaEnum::key(QMetaEnum* theWrappedObject, int index) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->key(index)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | |||
int PythonQtWrapper_QMetaEnum::keyCount(QMetaEnum* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->keyCount()); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | |||
int PythonQtWrapper_QMetaEnum::keyToValue(QMetaEnum* theWrappedObject, const char* key) const | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->keyToValue(key)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
int PythonQtWrapper_QMetaEnum::keysToValue(QMetaEnum* theWrappedObject, const char* keys) const | ||||
{ | ||||
return ( theWrappedObject->keysToValue(keys)); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
const char* PythonQtWrapper_QMetaEnum::name(QMetaEnum* theWrappedObject) const | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->name()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | |||
const char* PythonQtWrapper_QMetaEnum::scope(QMetaEnum* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->scope()); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | |||
int PythonQtWrapper_QMetaEnum::value(QMetaEnum* theWrappedObject, int index) const | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->value(index)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | |||
const char* PythonQtWrapper_QMetaEnum::valueToKey(QMetaEnum* theWrappedObject, int value) const | ||||
{ | ||||
return ( theWrappedObject->valueToKey(value)); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | |||
QByteArray PythonQtWrapper_QMetaEnum::valueToKeys(QMetaEnum* theWrappedObject, int value) const | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->valueToKeys(value)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
QMetaMethod* PythonQtWrapper_QMetaMethod::new_QMetaMethod() | ||||
{ | ||||
return new QMetaMethod(); } | ||||
QMetaMethod::Access PythonQtWrapper_QMetaMethod::access(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->access()); | ||||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
int PythonQtWrapper_QMetaMethod::attributes(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->attributes()); | ||||
} | ||||
const QMetaObject* PythonQtWrapper_QMetaMethod::enclosingMetaObject(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->enclosingMetaObject()); | ||||
} | ||||
int PythonQtWrapper_QMetaMethod::methodIndex(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->methodIndex()); | ||||
} | ||||
QMetaMethod::MethodType PythonQtWrapper_QMetaMethod::methodType(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->methodType()); | ||||
} | ||||
QList<QByteArray > PythonQtWrapper_QMetaMethod::parameterNames(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->parameterNames()); | ||||
} | ||||
QList<QByteArray > PythonQtWrapper_QMetaMethod::parameterTypes(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->parameterTypes()); | ||||
} | ||||
int PythonQtWrapper_QMetaMethod::revision(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->revision()); | ||||
} | ||||
const char* PythonQtWrapper_QMetaMethod::signature(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->signature()); | ||||
} | ||||
const char* PythonQtWrapper_QMetaMethod::tag(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->tag()); | ||||
} | ||||
const char* PythonQtWrapper_QMetaMethod::typeName(QMetaMethod* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->typeName()); | ||||
} | ||||
QMetaProperty* PythonQtWrapper_QMetaProperty::new_QMetaProperty() | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return new QMetaProperty(); } | ||
florianlink
|
r99 | |||
florianlink
|
r186 | const QMetaObject* PythonQtWrapper_QMetaProperty::enclosingMetaObject(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->enclosingMetaObject()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QMetaEnum PythonQtWrapper_QMetaProperty::enumerator(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->enumerator()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::hasNotifySignal(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->hasNotifySignal()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::hasStdCppSet(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->hasStdCppSet()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isConstant(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isConstant()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isDesignable(QMetaProperty* theWrappedObject, const QObject* obj) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isDesignable(obj)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isEditable(QMetaProperty* theWrappedObject, const QObject* obj) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isEditable(obj)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isEnumType(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isEnumType()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isFinal(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isFinal()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | |||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isFlagType(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isFlagType()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isReadable(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isReadable()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isResettable(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isResettable()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isScriptable(QMetaProperty* theWrappedObject, const QObject* obj) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isScriptable(obj)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isStored(QMetaProperty* theWrappedObject, const QObject* obj) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isStored(obj)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isUser(QMetaProperty* theWrappedObject, const QObject* obj) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isUser(obj)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isValid(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isValid()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::isWritable(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isWritable()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | const char* PythonQtWrapper_QMetaProperty::name(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->name()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QMetaMethod PythonQtWrapper_QMetaProperty::notifySignal(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->notifySignal()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | int PythonQtWrapper_QMetaProperty::notifySignalIndex(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->notifySignalIndex()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | int PythonQtWrapper_QMetaProperty::propertyIndex(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->propertyIndex()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QVariant PythonQtWrapper_QMetaProperty::read(QMetaProperty* theWrappedObject, const QObject* obj) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->read(obj)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMetaProperty::reset(QMetaProperty* theWrappedObject, QObject* obj) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->reset(obj)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | int PythonQtWrapper_QMetaProperty::revision(QMetaProperty* theWrappedObject) const | ||
florianlink
|
r117 | { | ||
florianlink
|
r186 | return ( theWrappedObject->revision()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QVariant::Type PythonQtWrapper_QMetaProperty::type(QMetaProperty* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->type()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | const char* PythonQtWrapper_QMetaProperty::typeName(QMetaProperty* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->typeName()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | int PythonQtWrapper_QMetaProperty::userType(QMetaProperty* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->userType()); | ||||
} | ||||
bool PythonQtWrapper_QMetaProperty::write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const | ||||
{ | ||||
return ( theWrappedObject->write(obj, value)); | ||||
} | ||||
PythonQtShell_QMetaType::~PythonQtShell_QMetaType() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
QMetaType* PythonQtWrapper_QMetaType::new_QMetaType() | ||||
{ | ||||
return new PythonQtShell_QMetaType(); } | ||||
void* PythonQtWrapper_QMetaType::static_QMetaType_construct(int type, const void* copy) | ||||
{ | ||||
return (QMetaType::construct(type, copy)); | ||||
} | ||||
void PythonQtWrapper_QMetaType::static_QMetaType_destroy(int type, void* data) | ||||
{ | ||||
(QMetaType::destroy(type, data)); | ||||
} | ||||
bool PythonQtWrapper_QMetaType::static_QMetaType_isRegistered(int type) | ||||
{ | ||||
return (QMetaType::isRegistered(type)); | ||||
} | ||||
bool PythonQtWrapper_QMetaType::static_QMetaType_load(QDataStream& stream, int type, void* data) | ||||
{ | ||||
return (QMetaType::load(stream, type, data)); | ||||
} | ||||
int PythonQtWrapper_QMetaType::static_QMetaType_registerTypedef(const char* typeName, int aliasId) | ||||
{ | ||||
return (QMetaType::registerTypedef(typeName, aliasId)); | ||||
} | ||||
bool PythonQtWrapper_QMetaType::static_QMetaType_save(QDataStream& stream, int type, const void* data) | ||||
{ | ||||
return (QMetaType::save(stream, type, data)); | ||||
} | ||||
int PythonQtWrapper_QMetaType::static_QMetaType_type(const char* typeName) | ||||
{ | ||||
return (QMetaType::type(typeName)); | ||||
} | ||||
const char* PythonQtWrapper_QMetaType::static_QMetaType_typeName(int type) | ||||
{ | ||||
return (QMetaType::typeName(type)); | ||||
} | ||||
void PythonQtWrapper_QMetaType::static_QMetaType_unregisterType(const char* typeName) | ||||
{ | ||||
(QMetaType::unregisterType(typeName)); | ||||
} | ||||
PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QMimeData::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
|
r186 | QMimeData::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QMimeData::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
|
r186 | QMimeData::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QMimeData::event(QEvent* arg__1) | ||
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; | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
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
|
r186 | return QMimeData::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QMimeData::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
|
r186 | return QMimeData::eventFilter(arg__1, arg__2); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | QStringList PythonQtShell_QMimeData::formats() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "formats"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"QStringList"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r186 | QStringList 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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r186 | returnValue = *((QStringList*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QMimeData::formats(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype) const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFormat"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "const QString&"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&mimetype}; | ||
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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QMimeData::hasFormat(mimetype); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype, QVariant::Type preferredType) const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "retrieveData"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"QVariant" , "const QString&" , "QVariant::Type"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r186 | QVariant returnValue; | ||
void* args[3] = {NULL, (void*)&mimetype, (void*)&preferredType}; | ||||
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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r186 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | return QMimeData::retrieveData(mimetype, preferredType); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QMimeData::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
|
r186 | QMimeData::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QMimeData* PythonQtWrapper_QMimeData::new_QMimeData() | ||
{ | ||||
return new PythonQtShell_QMimeData(); } | ||||
void PythonQtWrapper_QMimeData::clear(QMimeData* theWrappedObject) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->clear()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
QVariant PythonQtWrapper_QMimeData::colorData(QMimeData* theWrappedObject) const | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->colorData()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
QByteArray PythonQtWrapper_QMimeData::data(QMimeData* theWrappedObject, const QString& mimetype) const | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->data(mimetype)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r110 | |||
florianlink
|
r186 | QStringList PythonQtWrapper_QMimeData::formats(QMimeData* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_formats()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->hasColor()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_hasFormat(mimetype)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMimeData::hasHtml(QMimeData* theWrappedObject) const | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->hasHtml()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QMimeData::hasImage(QMimeData* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->hasImage()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | bool PythonQtWrapper_QMimeData::hasText(QMimeData* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->hasText()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | bool PythonQtWrapper_QMimeData::hasUrls(QMimeData* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->hasUrls()); | ||||
} | ||||
QString PythonQtWrapper_QMimeData::html(QMimeData* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->html()); | ||||
} | ||||
QVariant PythonQtWrapper_QMimeData::imageData(QMimeData* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->imageData()); | ||||
} | ||||
void PythonQtWrapper_QMimeData::removeFormat(QMimeData* theWrappedObject, const QString& mimetype) | ||||
{ | ||||
( theWrappedObject->removeFormat(mimetype)); | ||||
} | ||||
QVariant PythonQtWrapper_QMimeData::retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_retrieveData(mimetype, preferredType)); | ||||
} | ||||
void PythonQtWrapper_QMimeData::setColorData(QMimeData* theWrappedObject, const QVariant& color) | ||||
{ | ||||
( theWrappedObject->setColorData(color)); | ||||
} | ||||
void PythonQtWrapper_QMimeData::setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data) | ||||
{ | ||||
( theWrappedObject->setData(mimetype, data)); | ||||
} | ||||
void PythonQtWrapper_QMimeData::setHtml(QMimeData* theWrappedObject, const QString& html) | ||||
{ | ||||
( theWrappedObject->setHtml(html)); | ||||
} | ||||
void PythonQtWrapper_QMimeData::setImageData(QMimeData* theWrappedObject, const QVariant& image) | ||||
{ | ||||
( theWrappedObject->setImageData(image)); | ||||
} | ||||
void PythonQtWrapper_QMimeData::setText(QMimeData* theWrappedObject, const QString& text) | ||||
{ | ||||
( theWrappedObject->setText(text)); | ||||
} | ||||
void PythonQtWrapper_QMimeData::setUrls(QMimeData* theWrappedObject, const QList<QUrl >& urls) | ||||
{ | ||||
( theWrappedObject->setUrls(urls)); | ||||
} | ||||
QString PythonQtWrapper_QMimeData::text(QMimeData* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->text()); | ||||
} | ||||
QList<QUrl > PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->urls()); | ||||
} | ||||
QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() | ||||
{ | ||||
return new QModelIndex(); } | ||||
QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex(const QModelIndex& other) | ||||
{ | ||||
return new QModelIndex(other); } | ||||
QModelIndex PythonQtWrapper_QModelIndex::child(QModelIndex* theWrappedObject, int row, int column) const | ||||
{ | ||||
return ( theWrappedObject->child(row, column)); | ||||
} | ||||
int PythonQtWrapper_QModelIndex::column(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->column()); | ||||
} | ||||
QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const | ||||
{ | ||||
return ( theWrappedObject->data(role)); | ||||
} | ||||
Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->flags()); | ||||
} | ||||
qint64 PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->internalId()); | ||||
} | ||||
void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->internalPointer()); | ||||
} | ||||
bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->isValid()); | ||||
} | ||||
const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->model()); | ||||
} | ||||
bool PythonQtWrapper_QModelIndex::__ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const | ||||
{ | ||||
return ( (*theWrappedObject)!= other); | ||||
} | ||||
bool PythonQtWrapper_QModelIndex::__lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const | ||||
{ | ||||
return ( (*theWrappedObject)< other); | ||||
} | ||||
bool PythonQtWrapper_QModelIndex::__eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const | ||||
{ | ||||
return ( (*theWrappedObject)== other); | ||||
} | ||||
QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->parent()); | ||||
} | ||||
int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->row()); | ||||
} | ||||
QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const | ||||
{ | ||||
return ( theWrappedObject->sibling(row, column)); | ||||
} | ||||
QString PythonQtWrapper_QModelIndex::py_toString(QModelIndex* obj) { | ||||
QString result; | ||||
QDebug d(&result); | ||||
d << *obj; | ||||
return result; | ||||
} | ||||
QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) | ||||
{ | ||||
return new QMutex(mode); } | ||||
void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->lock()); | ||||
} | ||||
void PythonQtWrapper_QMutex::lockInline(QMutex* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->lockInline()); | ||||
} | ||||
bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject) | ||||
{ | ||||
return ( theWrappedObject->tryLock()); | ||||
} | ||||
bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) | ||||
{ | ||||
return ( theWrappedObject->tryLock(timeout)); | ||||
} | ||||
bool PythonQtWrapper_QMutex::tryLockInline(QMutex* theWrappedObject) | ||||
{ | ||||
return ( theWrappedObject->tryLockInline()); | ||||
} | ||||
void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->unlock()); | ||||
} | ||||
void PythonQtWrapper_QMutex::unlockInline(QMutex* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->unlockInline()); | ||||
} | ||||
PythonQtShell_QObject::~PythonQtShell_QObject() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QObject::childEvent(QChildEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QObject::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QObject::customEvent(QEvent* arg__1) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r186 | QObject::customEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | bool PythonQtShell_QObject::event(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r186 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QObject::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r186 | 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
|
r186 | 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
|
r186 | return QObject::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r128 | 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
|
r186 | QObject::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QObject* PythonQtWrapper_QObject::new_QObject(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QObject(parent); } | ||||
bool PythonQtWrapper_QObject::blockSignals(QObject* theWrappedObject, bool b) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->blockSignals(b)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* arg__1) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(arg__1)); | ||||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
const QList<QObject* >* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return &( theWrappedObject->children()); | ||
} | ||||
void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* arg__1) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(arg__1)); | ||||
} | ||||
void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->dumpObjectInfo()); | ||||
} | ||||
void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->dumpObjectTree()); | ||||
} | ||||
QList<QByteArray > PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->dynamicPropertyNames()); | ||||
} | ||||
bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* arg__1) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_event(arg__1)); | ||||
} | ||||
bool PythonQtWrapper_QObject::eventFilter(QObject* theWrappedObject, QObject* arg__1, QEvent* arg__2) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); | ||||
} | ||||
void PythonQtWrapper_QObject::installEventFilter(QObject* theWrappedObject, QObject* arg__1) | ||||
{ | ||||
( theWrappedObject->installEventFilter(arg__1)); | ||||
} | ||||
bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->isWidgetType()); | ||||
} | ||||
void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) | ||||
{ | ||||
( theWrappedObject->killTimer(id)); | ||||
} | ||||
void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) | ||||
{ | ||||
( theWrappedObject->moveToThread(thread)); | ||||
} | ||||
QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->objectName()); | ||||
} | ||||
void PythonQtWrapper_QObject::removeEventFilter(QObject* theWrappedObject, QObject* arg__1) | ||||
{ | ||||
( theWrappedObject->removeEventFilter(arg__1)); | ||||
} | ||||
void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) | ||||
{ | ||||
( theWrappedObject->setObjectName(name)); | ||||
} | ||||
bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->signalsBlocked()); | ||||
} | ||||
int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval) | ||||
{ | ||||
return ( theWrappedObject->startTimer(interval)); | ||||
} | ||||
QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->thread()); | ||||
} | ||||
void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(arg__1)); | ||||
} | ||||
PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
florianlink
|
r128 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r128 | 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
|
r186 | QParallelAnimationGroup::childEvent(arg__1); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* arg__1) | ||
florianlink
|
r128 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r128 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r128 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QParallelAnimationGroup::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | int PythonQtShell_QParallelAnimationGroup::duration() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r186 | returnValue = *((int*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QParallelAnimationGroup::duration(); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r128 | bool returnValue; | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&event}; | ||
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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r128 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QParallelAnimationGroup::event(event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r99 | bool returnValue; | ||
florianlink
|
r186 | 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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QParallelAnimationGroup::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QParallelAnimationGroup::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)¤tTime}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QParallelAnimationGroup::updateCurrentTime(currentTime); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QParallelAnimationGroup::updateDirection(direction); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r186 | QParallelAnimationGroup::updateState(newState, oldState); | ||
florianlink
|
r117 | } | ||
florianlink
|
r186 | QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QParallelAnimationGroup(parent); } | ||||
int PythonQtWrapper_QParallelAnimationGroup::duration(QParallelAnimationGroup* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_duration()); | ||||
} | ||||
bool PythonQtWrapper_QParallelAnimationGroup::event(QParallelAnimationGroup* theWrappedObject, QEvent* event) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_event(event)); | ||||
} | ||||
void PythonQtWrapper_QParallelAnimationGroup::updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(currentTime)); | ||||
} | ||||
void PythonQtWrapper_QParallelAnimationGroup::updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); | ||||
} | ||||
void PythonQtWrapper_QParallelAnimationGroup::updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); | ||||
} | ||||
PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* arg__1) | ||||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r186 | QPauseAnimation::childEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r186 | void PythonQtShell_QPauseAnimation::customEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QPauseAnimation::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | int PythonQtShell_QPauseAnimation::duration() const | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"int"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r186 | int returnValue; | ||
florianlink
|
r120 | 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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r186 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | return QPauseAnimation::duration(); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtShell_QPauseAnimation::event(QEvent* e) | ||
florianlink
|
r128 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r128 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r128 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&e}; | ||
florianlink
|
r128 | 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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QPauseAnimation::event(e); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QPauseAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r186 | 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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r120 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QPauseAnimation::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QPauseAnimation::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | if (_wrapper) { | ||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "int"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QPauseAnimation::updateCurrentTime(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | if (_wrapper) { | ||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&direction}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QPauseAnimation::updateDirection(direction); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QPauseAnimation::updateState(newState, oldState); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QPauseAnimation(parent); } | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) | ||
{ | ||||
return new PythonQtShell_QPauseAnimation(msecs, parent); } | ||||
florianlink
|
r120 | |||
florianlink
|
r186 | int PythonQtWrapper_QPauseAnimation::duration(QPauseAnimation* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_duration()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QPauseAnimation::event(QPauseAnimation* theWrappedObject, QEvent* e) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_event(e)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | ( theWrappedObject->setDuration(msecs)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QPauseAnimation::updateCurrentTime(QPauseAnimation* theWrappedObject, int arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r120 | |||
florianlink
|
r110 | |||
florianlink
|
r186 | PythonQtShell_QProcess::~PythonQtShell_QProcess() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::atEnd() const | ||
florianlink
|
r128 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); | ||
florianlink
|
r128 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
bool returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r128 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r186 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r128 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::atEnd(); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | qint64 PythonQtShell_QProcess::bytesAvailable() const | ||
florianlink
|
r128 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); | ||
florianlink
|
r128 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
qint64 returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r128 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r186 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); | ||||
} else { | ||||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r128 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::bytesAvailable(); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | qint64 PythonQtShell_QProcess::bytesToWrite() const | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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); | ||
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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
florianlink
|
r186 | returnValue = *((qint64*)args[0]); | ||
florianlink
|
r120 | } | ||
} | ||||
} | ||||
florianlink
|
r117 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::bytesToWrite(); | ||
florianlink
|
r117 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::canReadLine() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r186 | void* args[1] = {NULL}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::canReadLine(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QProcess::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | QProcess::childEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtShell_QProcess::close() | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={""}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r186 | QProcess::close(); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtShell_QProcess::customEvent(QEvent* arg__1) | ||
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; | ||||
} | ||||
} | ||||
florianlink
|
r186 | QProcess::customEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::event(QEvent* arg__1) | ||
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; | ||||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QProcess::event(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::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
|
r186 | return QProcess::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::isSequential() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r186 | 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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QProcess::isSequential(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | bool returnValue; | ||
void* args[2] = {NULL, (void*)&mode}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r186 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::open(mode); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | qint64 PythonQtShell_QProcess::pos() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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); | ||
florianlink
|
r186 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); | ||||
} else { | ||||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::pos(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | qint64 PythonQtShell_QProcess::readData(char* data, qint64 maxlen) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
qint64 returnValue; | ||||
void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r186 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); | ||||
} else { | ||||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::readData(data, maxlen); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | qint64 PythonQtShell_QProcess::readLineData(char* data, qint64 maxlen) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
qint64 returnValue; | ||||
void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r186 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); | ||||
} else { | ||||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::readLineData(data, maxlen); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::reset() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
florianlink
|
r128 | bool returnValue; | ||
florianlink
|
r186 | void* args[1] = {NULL}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r128 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); | ||
florianlink
|
r128 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::reset(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::seek(qint64 pos) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "qint64"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r128 | bool returnValue; | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&pos}; | ||
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) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); | ||
florianlink
|
r128 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::seek(pos); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QProcess::setupChildProcess() | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupChildProcess"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={""}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r120 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | QProcess::setupChildProcess(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | qint64 PythonQtShell_QProcess::size() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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); | ||
florianlink
|
r186 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); | ||||
} else { | ||||
returnValue = *((qint64*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::size(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QProcess::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QTimerEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&arg__1}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r186 | QProcess::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::waitForBytesWritten(int msecs) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "int"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r128 | bool returnValue; | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&msecs}; | ||
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) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); | ||
florianlink
|
r128 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::waitForBytesWritten(msecs); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QProcess::waitForReadyRead(int msecs) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&msecs}; | ||
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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); | ||
florianlink
|
r120 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::waitForReadyRead(msecs); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | qint64 PythonQtShell_QProcess::writeData(const char* data, qint64 len) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r186 | if (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
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QProcess::writeData(data, len); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QProcess(parent); } | ||||
bool PythonQtWrapper_QProcess::atEnd(QProcess* theWrappedObject) const | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_atEnd()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
qint64 PythonQtWrapper_QProcess::bytesAvailable(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesAvailable()); | ||||
} | ||||
qint64 PythonQtWrapper_QProcess::bytesToWrite(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesToWrite()); | ||||
} | ||||
bool PythonQtWrapper_QProcess::canReadLine(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_canReadLine()); | ||||
} | ||||
void PythonQtWrapper_QProcess::close(QProcess* theWrappedObject) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_close()); | ||||
} | ||||
void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) | ||||
{ | ||||
( theWrappedObject->closeReadChannel(channel)); | ||||
} | ||||
void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) | ||||
{ | ||||
( theWrappedObject->closeWriteChannel()); | ||||
} | ||||
QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->environment()); | ||||
} | ||||
QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->error()); | ||||
} | ||||
int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program) | ||||
{ | ||||
return (QProcess::execute(program)); | ||||
} | ||||
int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) | ||||
{ | ||||
return (QProcess::execute(program, arguments)); | ||||
} | ||||
int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->exitCode()); | ||||
} | ||||
QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->exitStatus()); | ||||
} | ||||
bool PythonQtWrapper_QProcess::isSequential(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_isSequential()); | ||||
} | ||||
QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->processChannelMode()); | ||||
} | ||||
QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->processEnvironment()); | ||||
} | ||||
QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) | ||||
{ | ||||
return ( theWrappedObject->readAllStandardError()); | ||||
} | ||||
QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) | ||||
{ | ||||
return ( theWrappedObject->readAllStandardOutput()); | ||||
} | ||||
QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->readChannel()); | ||||
} | ||||
qint64 PythonQtWrapper_QProcess::readData(QProcess* theWrappedObject, char* data, qint64 maxlen) | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_readData(data, maxlen)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) | ||||
{ | ||||
( theWrappedObject->setEnvironment(environment)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) | ||||
{ | ||||
( theWrappedObject->setProcessChannelMode(mode)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) | ||||
{ | ||||
( theWrappedObject->setProcessEnvironment(environment)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) | ||||
{ | ||||
( theWrappedObject->setReadChannel(channel)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) | ||||
{ | ||||
( theWrappedObject->setStandardErrorFile(fileName, mode)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) | ||||
{ | ||||
( theWrappedObject->setStandardInputFile(fileName)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) | ||||
{ | ||||
( theWrappedObject->setStandardOutputFile(fileName, mode)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) | ||||
{ | ||||
( theWrappedObject->setStandardOutputProcess(destination)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) | ||||
{ | ||||
( theWrappedObject->setWorkingDirectory(dir)); | ||||
} | ||||
void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); | ||||
} | ||||
void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, QIODevice::OpenMode mode) | ||||
{ | ||||
( theWrappedObject->start(program, mode)); | ||||
} | ||||
void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) | ||||
{ | ||||
( theWrappedObject->start(program, arguments, mode)); | ||||
} | ||||
bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program) | ||||
{ | ||||
return (QProcess::startDetached(program)); | ||||
} | ||||
bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) | ||||
{ | ||||
return (QProcess::startDetached(program, arguments)); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return (QProcess::startDetached(program, arguments, workingDirectory, pid)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->state()); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() | ||
{ | ||||
return (QProcess::systemEnvironment()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | bool PythonQtWrapper_QProcess::waitForBytesWritten(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->waitForFinished(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QProcess::waitForReadyRead(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForReadyRead(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->waitForStarted(msecs)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->workingDirectory()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | qint64 PythonQtWrapper_QProcess::writeData(QProcess* theWrappedObject, const char* data, qint64 len) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_writeData(data, len)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment() | ||||
{ | ||||
return new QProcessEnvironment(); } | ||||
QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment(const QProcessEnvironment& other) | ||||
{ | ||||
return new QProcessEnvironment(other); } | ||||
void PythonQtWrapper_QProcessEnvironment::clear(QProcessEnvironment* theWrappedObject) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->clear()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QProcessEnvironment::contains(QProcessEnvironment* theWrappedObject, const QString& name) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->contains(name)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& e) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->insert(e)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->insert(name, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isEmpty()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QStringList PythonQtWrapper_QProcessEnvironment::keys(QProcessEnvironment* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->keys()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QProcessEnvironment::__ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( (*theWrappedObject)!= other); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return &( (*theWrappedObject)= other); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QProcessEnvironment::__eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const | ||
{ | ||||
return ( (*theWrappedObject)== other); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | void PythonQtWrapper_QProcessEnvironment::remove(QProcessEnvironment* theWrappedObject, const QString& name) | ||
{ | ||||
( theWrappedObject->remove(name)); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | QProcessEnvironment PythonQtWrapper_QProcessEnvironment::static_QProcessEnvironment_systemEnvironment() | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return (QProcessEnvironment::systemEnvironment()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | |||
QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->toStringList()); | ||||
florianlink
|
r120 | } | ||
florianlink
|
r186 | |||
QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) const | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->value(name, defaultValue)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QPropertyAnimation::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
|
r186 | QPropertyAnimation::childEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QPropertyAnimation::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
|
r186 | QPropertyAnimation::customEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | int PythonQtShell_QPropertyAnimation::duration() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"int"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||||
int returnValue; | ||||
void* args[1] = {NULL}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r186 | if (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]); | ||||
} | ||||
} | ||||
} | ||||
florianlink
|
r110 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | return QPropertyAnimation::duration(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QPropertyAnimation::event(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r128 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | bool returnValue; | ||
florianlink
|
r128 | void* args[2] = {NULL, (void*)&event}; | ||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
florianlink
|
r186 | if (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
|
r128 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
florianlink
|
r128 | } | ||
} | ||||
florianlink
|
r186 | return QPropertyAnimation::event(event); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r128 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r128 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r186 | void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QPropertyAnimation::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from, const QVariant& to, qreal progress) const | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "interpolated"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
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) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); | ||
florianlink
|
r128 | } else { | ||
florianlink
|
r186 | returnValue = *((QVariant*)args[0]); | ||
florianlink
|
r128 | } | ||
} | ||||
} | ||||
florianlink
|
r120 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return returnValue; | ||
} | ||||
} | ||||
return QPropertyAnimation::interpolated(from, to, progress); | ||||
} | ||||
void PythonQtShell_QPropertyAnimation::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; | ||||
} | ||||
} | ||||
QPropertyAnimation::timerEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const char* argumentList[] ={"" , "int"}; | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r186 | QPropertyAnimation::updateCurrentTime(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentValue"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "const QVariant&"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&value}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r186 | QPropertyAnimation::updateCurrentValue(value); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&direction}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
florianlink
|
r186 | QPropertyAnimation::updateDirection(direction); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | QPropertyAnimation::updateState(newState, oldState); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return new PythonQtShell_QPropertyAnimation(parent); } | ||
florianlink
|
r110 | |||
florianlink
|
r186 | QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) | ||
{ | ||||
return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | bool PythonQtWrapper_QPropertyAnimation::event(QPropertyAnimation* theWrappedObject, QEvent* event) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_event(event)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->propertyName()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->setPropertyName(propertyName)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->setTargetObject(target)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->targetObject()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QPropertyAnimation::updateCurrentValue(QPropertyAnimation* theWrappedObject, const QVariant& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_updateCurrentValue(value)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QPropertyAnimation::updateState(QPropertyAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_updateState(newState, oldState)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock() | ||
{ | ||||
return new QReadWriteLock(); } | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) | ||
{ | ||||
return new QReadWriteLock(recursionMode); } | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->lockForRead()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->lockForWrite()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->tryLockForRead()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->tryLockForRead(timeout)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->tryLockForWrite()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->tryLockForWrite(timeout)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->unlock()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | PythonQtShell_QResource::~PythonQtShell_QResource() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QResource* PythonQtWrapper_QResource::new_QResource(const QString& file, const QLocale& locale) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return new PythonQtShell_QResource(file, locale); } | ||
florianlink
|
r110 | |||
florianlink
|
r186 | QString PythonQtWrapper_QResource::absoluteFilePath(QResource* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->absoluteFilePath()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | (QResource::addSearchPath(path)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->data()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->fileName()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isCompressed()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isValid()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->locale()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return (QResource::registerResource(rccFilename, resourceRoot)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return (QResource::registerResource(rccData, resourceRoot)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return (QResource::searchPaths()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) | ||
{ | ||||
( theWrappedObject->setFileName(file)); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) | ||||
{ | ||||
( theWrappedObject->setLocale(locale)); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->size()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) | ||||
{ | ||||
return (QResource::unregisterResource(rccFilename, resourceRoot)); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) | ||||
florianlink
|
r117 | { | ||
florianlink
|
r186 | return (QResource::unregisterResource(rccData, resourceRoot)); | ||
florianlink
|
r117 | } | ||
florianlink
|
r186 | |||
PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r117 | } | ||
florianlink
|
r186 | void PythonQtShell_QRunnable::run() | ||
florianlink
|
r117 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "run"); | ||
florianlink
|
r117 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={""}; | ||
florianlink
|
r128 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
void* args[1] = {NULL}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r186 | |||
florianlink
|
r128 | } | ||
florianlink
|
r186 | QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() | ||
{ | ||||
return new PythonQtShell_QRunnable(); } | ||||
bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->autoDelete()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) | ||||
{ | ||||
( theWrappedObject->setAutoDelete(_autoDelete)); | ||||
florianlink
|
r117 | } | ||
florianlink
|
r186 | |||
QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) | ||||
{ | ||||
return new QSemaphore(n); } | ||||
void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->acquire(n)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->available()); | ||||
florianlink
|
r110 | } | ||
florianlink
|
r186 | |||
void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) | ||||
florianlink
|
r117 | { | ||
florianlink
|
r186 | ( theWrappedObject->release(n)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) | ||||
{ | ||||
return ( theWrappedObject->tryAcquire(n)); | ||||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->tryAcquire(n, timeout)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r128 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r128 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QChildEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r117 | } | ||
} | ||||
florianlink
|
r186 | QSequentialAnimationGroup::childEvent(arg__1); | ||
florianlink
|
r117 | } | ||
florianlink
|
r186 | void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | QSequentialAnimationGroup::customEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | int PythonQtShell_QSequentialAnimationGroup::duration() const | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"int"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); | ||
florianlink
|
r186 | int 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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r186 | returnValue = *((int*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QSequentialAnimationGroup::duration(); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r128 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
bool returnValue; | ||||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&event}; | ||
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
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r186 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QSequentialAnimationGroup::event(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
florianlink
|
r128 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||
florianlink
|
r186 | bool returnValue; | ||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r186 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QSequentialAnimationGroup::eventFilter(arg__1, arg__2); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | QSequentialAnimationGroup::timerEvent(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "int"}; | ||
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
|
r186 | return; | ||
florianlink
|
r110 | } | ||
} | ||||
florianlink
|
r186 | QSequentialAnimationGroup::updateCurrentTime(arg__1); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSequentialAnimationGroup::updateDirection(direction); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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); | ||||
florianlink
|
r186 | return; | ||
} | ||||
} | ||||
QSequentialAnimationGroup::updateState(newState, oldState); | ||||
} | ||||
QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSequentialAnimationGroup(parent); } | ||||
QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) | ||||
{ | ||||
return ( theWrappedObject->addPause(msecs)); | ||||
} | ||||
QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->currentAnimation()); | ||||
} | ||||
int PythonQtWrapper_QSequentialAnimationGroup::duration(QSequentialAnimationGroup* theWrappedObject) const | ||||
{ | ||||
return ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_duration()); | ||||
} | ||||
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)); | ||||
} | ||||
void PythonQtWrapper_QSequentialAnimationGroup::updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); | ||||
} | ||||
void PythonQtWrapper_QSequentialAnimationGroup::updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); | ||||
} | ||||
void PythonQtWrapper_QSequentialAnimationGroup::updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) | ||||
{ | ||||
( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); | ||||
} | ||||
PythonQtShell_QSettings::~PythonQtShell_QSettings() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QSettings::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; | ||||
florianlink
|
r110 | } | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSettings::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSettings::customEvent(QEvent* arg__1) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r128 | 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
|
r186 | QSettings::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSettings::event(QEvent* event) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
florianlink
|
r99 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r120 | bool returnValue; | ||
florianlink
|
r186 | 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) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("event", 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
|
r186 | return QSettings::event(event); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r110 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); | ||||
florianlink
|
r110 | bool returnValue; | ||
florianlink
|
r186 | void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QSettings::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSettings::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QSettings::timerEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QSettings* PythonQtWrapper_QSettings::new_QSettings(QObject* parent) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return new PythonQtShell_QSettings(parent); } | ||
QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSettings(format, scope, organization, application, parent); } | ||||
QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSettings(scope, organization, application, parent); } | ||||
QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSettings(fileName, format, parent); } | ||||
QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& organization, const QString& application, QObject* parent) | ||||
{ | ||||
return new PythonQtShell_QSettings(organization, application, parent); } | ||||
QStringList PythonQtWrapper_QSettings::allKeys(QSettings* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->allKeys()); | ||||
} | ||||
QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const | ||||
{ | ||||
return ( theWrappedObject->applicationName()); | ||||
} | ||||
void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) | ||||
{ | ||||
( theWrappedObject->beginGroup(prefix)); | ||||
} | ||||
florianlink
|
r120 | |||
florianlink
|
r186 | int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) | ||
{ | ||||
return ( theWrappedObject->beginReadArray(prefix)); | ||||
} | ||||
florianlink
|
r120 | |||
florianlink
|
r186 | void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) | ||
{ | ||||
( theWrappedObject->beginWriteArray(prefix, size)); | ||||
} | ||||
florianlink
|
r120 | |||
florianlink
|
r186 | QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->childGroups()); | ||||
} | ||||
florianlink
|
r120 | |||
florianlink
|
r186 | QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->childKeys()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | ( theWrappedObject->clear()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->contains(key)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return (QSettings::defaultFormat()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | ( theWrappedObject->endArray()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->endGroup()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSettings::event(QSettings* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QSettings*)theWrappedObject)->promoted_event(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->fallbacksEnabled()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->fileName()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->format()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->group()); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | QTextCodec* PythonQtWrapper_QSettings::iniCodec(QSettings* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->iniCodec()); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->isWritable()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const | ||
{ | ||||
return ( theWrappedObject->organizationName()); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) | ||
{ | ||||
( theWrappedObject->remove(key)); | ||||
} | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->scope()); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->setArrayIndex(i)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | (QSettings::setDefaultFormat(format)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->setFallbacksEnabled(b)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setIniCodec(codec)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | ( theWrappedObject->setIniCodec(codecName)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | (QSettings::setPath(format, scope, path)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | ( theWrappedObject->setValue(key, value)); | ||
florianlink
|
r110 | } | ||
florianlink
|
r186 | QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const | ||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return ( theWrappedObject->status()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | ( theWrappedObject->sync()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->value(key, defaultValue)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r99 | |||
florianlink
|
r186 | PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QSharedMemory::childEvent(QChildEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QSharedMemory::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSharedMemory::customEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QSharedMemory::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSharedMemory::event(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"bool" , "QEvent*"}; | ||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
florianlink
|
r99 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||
florianlink
|
r99 | } else { | ||
florianlink
|
r186 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r99 | } | ||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QSharedMemory::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSharedMemory::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r110 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
florianlink
|
r186 | PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||
florianlink
|
r110 | } else { | ||
florianlink
|
r186 | returnValue = *((bool*)args[0]); | ||
florianlink
|
r110 | } | ||
} | ||||
} | ||||
florianlink
|
r99 | if (result) { Py_DECREF(result); } | ||
Py_DECREF(obj); | ||||
florianlink
|
r110 | return returnValue; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | return QSharedMemory::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||
florianlink
|
r99 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | 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
|
r186 | return; | ||
florianlink
|
r99 | } | ||
} | ||||
florianlink
|
r186 | QSharedMemory::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QSharedMemory(parent); } | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(const QString& key, QObject* parent) | ||
{ | ||||
return new PythonQtShell_QSharedMemory(key, parent); } | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | bool PythonQtWrapper_QSharedMemory::attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->attach(mode)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | const void* PythonQtWrapper_QSharedMemory::constData(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->constData()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSharedMemory::create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->create(size, mode)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->data()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | const void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->data()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSharedMemory::SharedMemoryError PythonQtWrapper_QSharedMemory::error(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->error()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QSharedMemory::errorString(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->errorString()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSharedMemory::isAttached(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isAttached()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QSharedMemory::key(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->key()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSharedMemory::lock(QSharedMemory* theWrappedObject) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->lock()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QSharedMemory::nativeKey(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->nativeKey()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSharedMemory::setKey(QSharedMemory* theWrappedObject, const QString& key) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setKey(key)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setNativeKey(key)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->size()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->unlock()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | 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
|
r186 | QSignalMapper::childEvent(arg__1); | ||
} | ||||
void PythonQtShell_QSignalMapper::customEvent(QEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r186 | QSignalMapper::customEvent(arg__1); | ||
} | ||||
bool PythonQtShell_QSignalMapper::event(QEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r186 | return QSignalMapper::event(arg__1); | ||
} | ||||
bool PythonQtShell_QSignalMapper::eventFilter(QObject* arg__1, QEvent* arg__2) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r99 | } | ||
florianlink
|
r186 | return QSignalMapper::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | 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; | ||||
} | ||||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QSignalMapper::timerEvent(arg__1); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QSignalMapper* PythonQtWrapper_QSignalMapper::new_QSignalMapper(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QSignalMapper(parent); } | ||||
florianlink
|
r120 | |||
florianlink
|
r186 | QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->mapping(object)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->mapping(text)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->mapping(id)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->removeMappings(sender)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setMapping(sender, object)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | ( theWrappedObject->setMapping(sender, text)); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setMapping(sender, id)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSignalTransition::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r186 | QSignalTransition::childEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSignalTransition::customEvent(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r186 | QSignalTransition::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSignalTransition::event(QEvent* e) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | return QSignalTransition::event(e); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSignalTransition::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r99 | } | ||
florianlink
|
r186 | return QSignalTransition::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSignalTransition::eventTest(QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | return QSignalTransition::eventTest(event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtShell_QSignalTransition::onTransition(QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | if (_wrapper) { | ||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onTransition"); | ||||
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
|
r99 | } | ||
florianlink
|
r186 | QSignalTransition::onTransition(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSignalTransition::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QObject* sender, const char* signal, QState* sourceState) | ||
{ | ||||
return new PythonQtShell_QSignalTransition(sender, signal, sourceState); } | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QState* sourceState) | ||
{ | ||||
return new PythonQtShell_QSignalTransition(sourceState); } | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | bool PythonQtWrapper_QSignalTransition::event(QSignalTransition* theWrappedObject, QEvent* e) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_event(e)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSignalTransition::eventTest(QSignalTransition* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_eventTest(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSignalTransition::onTransition(QSignalTransition* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_onTransition(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QObject* PythonQtWrapper_QSignalTransition::senderObject(QSignalTransition* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->senderObject()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSignalTransition::setSenderObject(QSignalTransition* theWrappedObject, QObject* sender) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setSenderObject(sender)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QSignalTransition::setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setSignal(signal)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QByteArray PythonQtWrapper_QSignalTransition::signal(QSignalTransition* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->signal()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | PythonQtShell_QSocketNotifier::~PythonQtShell_QSocketNotifier() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSocketNotifier::childEvent(QChildEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r186 | QSocketNotifier::childEvent(arg__1); | ||
} | ||||
void PythonQtShell_QSocketNotifier::customEvent(QEvent* arg__1) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r186 | QSocketNotifier::customEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r186 | return QSocketNotifier::event(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QSocketNotifier::eventFilter(QObject* arg__1, QEvent* arg__2) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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
|
r99 | } | ||
florianlink
|
r186 | return QSocketNotifier::eventFilter(arg__1, arg__2); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSocketNotifier::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent) | ||
{ | ||||
return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | bool PythonQtWrapper_QSocketNotifier::event(QSocketNotifier* theWrappedObject, QEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->promoted_event(arg__1)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isEnabled()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | int PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->socket()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->type()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | PythonQtShell_QState::~PythonQtShell_QState() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QState::childEvent(QChildEvent* arg__1) | ||||
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
|
r186 | QState::childEvent(arg__1); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtShell_QState::customEvent(QEvent* arg__1) | ||
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; | ||||
} | ||||
} | ||||
florianlink
|
r186 | QState::customEvent(arg__1); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtShell_QState::event(QEvent* e) | ||
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
|
r186 | void* args[2] = {NULL, (void*)&e}; | ||
florianlink
|
r117 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
florianlink
|
r120 | if (result) { | ||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
if (args[0]==NULL) { | ||||
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
|
r186 | return QState::event(e); | ||
florianlink
|
r117 | } | ||
florianlink
|
r186 | bool PythonQtShell_QState::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
|
r186 | return QState::eventFilter(arg__1, arg__2); | ||
} | ||||
void PythonQtShell_QState::onEntry(QEvent* event) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); | ||||
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; | ||||
} | ||||
} | ||||
QState::onEntry(event); | ||||
} | ||||
void PythonQtShell_QState::onExit(QEvent* event) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); | ||||
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; | ||||
} | ||||
} | ||||
QState::onExit(event); | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QState::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
|
r186 | QState::timerEvent(arg__1); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QState* PythonQtWrapper_QState::new_QState(QState* parent) | ||
{ | ||||
return new PythonQtShell_QState(parent); } | ||||
QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) | ||||
florianlink
|
r110 | { | ||
florianlink
|
r186 | return new PythonQtShell_QState(childMode, parent); } | ||
QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QAbstractState* target) | ||||
{ | ||||
return ( theWrappedObject->addTransition(target)); | ||||
} | ||||
void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QAbstractTransition* transition) | ||||
{ | ||||
( theWrappedObject->addTransition(transition)); | ||||
} | ||||
QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QObject* sender, const char* signal, QAbstractState* target) | ||||
{ | ||||
return ( theWrappedObject->addTransition(sender, signal, target)); | ||||
} | ||||
void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) | ||||
{ | ||||
( theWrappedObject->assignProperty(object, name, value)); | ||||
} | ||||
florianlink
|
r99 | |||
florianlink
|
r186 | QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->childMode()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->errorState()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QState::event(QState* theWrappedObject, QEvent* e) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_event(e)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->initialState()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QState::onEntry(QState* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_onEntry(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QState::onExit(QState* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_onExit(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, QAbstractTransition* transition) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->removeTransition(transition)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setChildMode(mode)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setErrorState(state)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setInitialState(state)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QList<QAbstractTransition* > PythonQtWrapper_QState::transitions(QState* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->transitions()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { | ||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
} | ||||
void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginMicrostep"); | ||||
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; | ||||
} | ||||
} | ||||
QStateMachine::beginMicrostep(event); | ||||
} | ||||
void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginSelectTransitions"); | ||||
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; | ||||
} | ||||
} | ||||
QStateMachine::beginSelectTransitions(event); | ||||
} | ||||
void PythonQtShell_QStateMachine::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; | ||||
} | ||||
} | ||||
QStateMachine::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QStateMachine::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; | ||||
} | ||||
} | ||||
QStateMachine::customEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QStateMachine::endMicrostep(QEvent* event) | ||||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endMicrostep"); | ||
florianlink
|
r110 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r110 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | 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
|
r99 | } | ||
florianlink
|
r186 | QStateMachine::endMicrostep(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r110 | if (_wrapper) { | ||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endSelectTransitions"); | ||
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
|
r186 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r110 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r128 | return; | ||
florianlink
|
r110 | } | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QStateMachine::endSelectTransitions(event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QStateMachine::event(QEvent* e) | ||
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; | ||||
florianlink
|
r186 | 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) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | return QStateMachine::event(e); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtShell_QStateMachine::eventFilter(QObject* watched, QEvent* event) | ||
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; | ||||
florianlink
|
r186 | void* args[3] = {NULL, (void*)&watched, (void*)&event}; | ||
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) { | ||||
PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); | ||||
} else { | ||||
returnValue = *((bool*)args[0]); | ||||
} | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
florianlink
|
r186 | return QStateMachine::eventFilter(watched, event); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtShell_QStateMachine::onEntry(QEvent* event) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
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
|
r186 | QStateMachine::onEntry(event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtShell_QStateMachine::onExit(QEvent* event) | ||
florianlink
|
r120 | { | ||
if (_wrapper) { | ||||
florianlink
|
r186 | PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); | ||
florianlink
|
r120 | PyErr_Clear(); | ||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
florianlink
|
r186 | static const char* argumentList[] ={"" , "QEvent*"}; | ||
florianlink
|
r120 | static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); | ||
florianlink
|
r186 | void* args[2] = {NULL, (void*)&event}; | ||
florianlink
|
r120 | PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
florianlink
|
r186 | return; | ||
florianlink
|
r120 | } | ||
} | ||||
florianlink
|
r186 | QStateMachine::onExit(event); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* arg__1) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | 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; | ||||
} | ||||
} | ||||
QStateMachine::timerEvent(arg__1); | ||||
florianlink
|
r128 | } | ||
florianlink
|
r186 | QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) | ||
{ | ||||
return new PythonQtShell_QStateMachine(parent); } | ||||
florianlink
|
r128 | |||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | ( theWrappedObject->addDefaultAnimation(animation)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | ( theWrappedObject->addState(state)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->cancelDelayedEvent(id)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | ( theWrappedObject->clearError()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | QSet<QAbstractState* > PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->configuration()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QList<QAbstractAnimation* > PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->defaultAnimations()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->error()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->errorString()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QStateMachine::event(QStateMachine* theWrappedObject, QEvent* e) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_event(e)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QStateMachine::eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event) | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_eventFilter(watched, event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QStateMachine::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->globalRestorePolicy()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isAnimated()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const | ||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->isRunning()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::onEntry(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_onEntry(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::onExit(QStateMachine* theWrappedObject, QEvent* event) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_onExit(event)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->postDelayedEvent(event, delay)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->postEvent(event, priority)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->removeDefaultAnimation(animation)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, QAbstractState* state) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->removeState(state)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setAnimated(enabled)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QStateMachine::RestorePolicy restorePolicy) | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine_SignalEvent::new_QStateMachine_SignalEvent(QObject* sender, int signalIndex, const QList<QVariant >& arguments) | ||||
{ | ||||
return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } | ||||
QList<QVariant > PythonQtWrapper_QStateMachine_SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->arguments()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
QObject* PythonQtWrapper_QStateMachine_SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->sender()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
int PythonQtWrapper_QStateMachine_SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return ( theWrappedObject->signalIndex()); | ||
florianlink
|
r128 | } | ||
florianlink
|
r186 | |||
QStateMachine::WrappedEvent* PythonQtWrapper_QStateMachine_WrappedEvent::new_QStateMachine_WrappedEvent(QObject* object, QEvent* event) | ||||
florianlink
|
r128 | { | ||
florianlink
|
r186 | return new QStateMachine::WrappedEvent(object, event); } | ||
florianlink
|
r99 | |||
florianlink
|
r186 | QEvent* PythonQtWrapper_QStateMachine_WrappedEvent::event(QStateMachine::WrappedEvent* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->event()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QObject* PythonQtWrapper_QStateMachine_WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const | ||
florianlink
|
r120 | { | ||
florianlink
|
r186 | return ( theWrappedObject->object()); | ||
florianlink
|
r120 | } | ||
florianlink
|
r186 | |||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher() | ||||
{ | ||||
return new QStringMatcher(); } | ||||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs) | ||||
{ | ||||
return new QStringMatcher(pattern, cs); } | ||||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QStringMatcher& other) | ||||
{ | ||||
return new QStringMatcher(other); } | ||||
Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const | ||||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->caseSensitivity()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->indexIn(str, from)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | return ( theWrappedObject->pattern()); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setCaseSensitivity(cs)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) | ||
florianlink
|
r99 | { | ||
florianlink
|
r186 | ( theWrappedObject->setPattern(pattern)); | ||
florianlink
|
r99 | } | ||
florianlink
|
r186 | |||
PythonQtShell_QSysInfo::~PythonQtShell_QSysInfo() { | ||||
PythonQtPrivate* priv = PythonQt::priv(); | ||||
if (priv) { priv->shellClassDeleted(this); } | ||||
florianlink
|
r99 | } | ||
florianlink
|
r186 | QSysInfo* PythonQtWrapper_QSysInfo::new_QSysInfo() | ||
{ | ||||
return new PythonQtShell_QSysInfo(); } | ||||
florianlink
|
r99 | |||