#include "PythonQtWrapper_QCompleter.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include void PythonQtShell_QCompleter::childEvent(QChildEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( &PythonQtWrapper_QCompleter::staticMetaObject, "childEvent(QCompleter*,QChildEvent* )"); void* args[2] = {NULL, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QCompleter::childEvent(arg__1); } void PythonQtShell_QCompleter::customEvent(QEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( &PythonQtWrapper_QCompleter::staticMetaObject, "customEvent(QCompleter*,QEvent* )"); void* args[2] = {NULL, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QCompleter::customEvent(arg__1); } bool PythonQtShell_QCompleter::event(QEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( &PythonQtWrapper_QCompleter::staticMetaObject, "event(QCompleter*,QEvent* )"); 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) { returnValue = *((bool *)args[0]); } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QCompleter::event(arg__1); } bool PythonQtShell_QCompleter::eventFilter(QObject* o, QEvent* e) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( &PythonQtWrapper_QCompleter::staticMetaObject, "eventFilter(QCompleter*,QObject* ,QEvent* )"); bool returnValue; void* args[3] = {NULL, (void*)&o, (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) { returnValue = *((bool *)args[0]); } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QCompleter::eventFilter(o, e); } QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pathFromIndex"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( &PythonQtWrapper_QCompleter::staticMetaObject, "pathFromIndex(QCompleter*,const QModelIndex& )"); QString returnValue; void* args[2] = {NULL, (void*)&index}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { returnValue = *((QString *)args[0]); } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QCompleter::pathFromIndex(index); } QStringList PythonQtShell_QCompleter::splitPath(const QString& path) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "splitPath"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( &PythonQtWrapper_QCompleter::staticMetaObject, "splitPath(QCompleter*,const QString& )"); QStringList returnValue; void* args[2] = {NULL, (void*)&path}; 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) { returnValue = *((QStringList *)args[0]); } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QCompleter::splitPath(path); } void PythonQtShell_QCompleter::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( &PythonQtWrapper_QCompleter::staticMetaObject, "timerEvent(QCompleter*,QTimerEvent* )"); void* args[2] = {NULL, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QCompleter::timerEvent(arg__1); } QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QAbstractItemModel* model, QObject* parent) { return new PythonQtShell_QCompleter(model, parent); } QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QObject* parent) { return new PythonQtShell_QCompleter(parent); } QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(const QStringList& completions, QObject* parent) { return new PythonQtShell_QCompleter(completions, parent); } QAbstractItemView* PythonQtWrapper_QCompleter::popup(QCompleter* theWrappedObject) const { return theWrappedObject->popup(); } QStringList PythonQtWrapper_QCompleter::splitPath(QCompleter* theWrappedObject, const QString& path) const { return ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_splitPath(path); } Qt::CaseSensitivity PythonQtWrapper_QCompleter::caseSensitivity(QCompleter* theWrappedObject) const { return theWrappedObject->caseSensitivity(); } void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) { theWrappedObject->setModelSorting(sorting); } int PythonQtWrapper_QCompleter::completionColumn(QCompleter* theWrappedObject) const { return theWrappedObject->completionColumn(); } void PythonQtWrapper_QCompleter::setWidget(QCompleter* theWrappedObject, QWidget* widget) { theWrappedObject->setWidget(widget); } QString PythonQtWrapper_QCompleter::completionPrefix(QCompleter* theWrappedObject) const { return theWrappedObject->completionPrefix(); } int PythonQtWrapper_QCompleter::currentRow(QCompleter* theWrappedObject) const { return theWrappedObject->currentRow(); } int PythonQtWrapper_QCompleter::completionRole(QCompleter* theWrappedObject) const { return theWrappedObject->completionRole(); } bool PythonQtWrapper_QCompleter::setCurrentRow(QCompleter* theWrappedObject, int row) { return theWrappedObject->setCurrentRow(row); } void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, QAbstractItemView* popup) { theWrappedObject->setPopup(popup); } bool PythonQtWrapper_QCompleter::wrapAround(QCompleter* theWrappedObject) const { return theWrappedObject->wrapAround(); } QAbstractItemModel* PythonQtWrapper_QCompleter::model(QCompleter* theWrappedObject) const { return theWrappedObject->model(); } QWidget* PythonQtWrapper_QCompleter::widget(QCompleter* theWrappedObject) const { return theWrappedObject->widget(); } bool PythonQtWrapper_QCompleter::event(QCompleter* theWrappedObject, QEvent* arg__1) { return ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_event(arg__1); } QCompleter::CompletionMode PythonQtWrapper_QCompleter::completionMode(QCompleter* theWrappedObject) const { return theWrappedObject->completionMode(); } QModelIndex PythonQtWrapper_QCompleter::currentIndex(QCompleter* theWrappedObject) const { return theWrappedObject->currentIndex(); } void PythonQtWrapper_QCompleter::setCompletionRole(QCompleter* theWrappedObject, int role) { theWrappedObject->setCompletionRole(role); } QString PythonQtWrapper_QCompleter::currentCompletion(QCompleter* theWrappedObject) const { return theWrappedObject->currentCompletion(); } void PythonQtWrapper_QCompleter::setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity) { theWrappedObject->setCaseSensitivity(caseSensitivity); } QString PythonQtWrapper_QCompleter::pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const { return ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_pathFromIndex(index); } void PythonQtWrapper_QCompleter::setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode) { theWrappedObject->setCompletionMode(mode); } void PythonQtWrapper_QCompleter::setModel(QCompleter* theWrappedObject, QAbstractItemModel* c) { theWrappedObject->setModel(c); } void PythonQtWrapper_QCompleter::setCompletionColumn(QCompleter* theWrappedObject, int column) { theWrappedObject->setCompletionColumn(column); } int PythonQtWrapper_QCompleter::completionCount(QCompleter* theWrappedObject) const { return theWrappedObject->completionCount(); } QAbstractItemModel* PythonQtWrapper_QCompleter::completionModel(QCompleter* theWrappedObject) const { return theWrappedObject->completionModel(); } bool PythonQtWrapper_QCompleter::eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e) { return ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_eventFilter(o, e); } QCompleter::ModelSorting PythonQtWrapper_QCompleter::modelSorting(QCompleter* theWrappedObject) const { return theWrappedObject->modelSorting(); }